API

OrganizationWorkloadIdentity

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/identity/organizations/{organization_id}/workload_identities/{id}/activate create Success
POST /api/v1/identity/organizations/{organization_id}/workload_identities/{id}/issue_exchange_token create Success
POST /api/v1/identity/organizations/{organization_id}/workload_identities/{id}/materialize create Success
POST /api/v1/identity/organizations/{organization_id}/workload_identities/{id}/revoke create Success
POST /api/v1/identity/organizations/{organization_id}/workload_identities/{id}/suspend create Success
POST /api/v1/identity/organizations/{organization_id}/workload_identities create Success
POST /api/v1/identity/organizations/{organization_id}/workload_identities/token_exchange create Success
GET /api/v1/identity/organizations/{organization_id}/workload_identities/{id} load Success
GET /api/v1/identity/organizations/{organization_id}/workload_identities load Success
PATCH /api/v1/identity/organizations/{organization_id}/workload_identities/{id} patch Success
DELETE /api/v1/identity/organizations/{organization_id}/workload_identities/{id} remove Success
PUT /api/v1/identity/organizations/{organization_id}/workload_identities/{id} update Success

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

organization_workload_identity, err := client.OrganizationWorkloadIdentity(nil).Load(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(organization_workload_identity)
created, err := client.OrganizationWorkloadIdentity(nil).Create(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)
updated, err := client.OrganizationWorkloadIdentity(nil).Update(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(updated)
patched, err := client.OrganizationWorkloadIdentity(nil).Patch(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(patched)
removed, err := client.OrganizationWorkloadIdentity(nil).Remove(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(removed)

Lua

Construct client as shown in the Lua setup, then call the operations:

local organization_workload_identity, err = client:OrganizationWorkloadIdentity():load({ organization_id = "example" })
local created, err = client:OrganizationWorkloadIdentity():create({ organization_id = "example" })
local updated, err = client:OrganizationWorkloadIdentity():update({ id = "example_id", organization_id = "example" })
local patched, err = client:OrganizationWorkloadIdentity():patch({ id = "example_id", organization_id = "example" })
local removed, err = client:OrganizationWorkloadIdentity():remove({ id = "example_id", organization_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$organization_workload_identity = $client->OrganizationWorkloadIdentity()->load(["organization_id" => "example"]);
$created = $client->OrganizationWorkloadIdentity()->create(["organization_id" => "example"]);
$updated = $client->OrganizationWorkloadIdentity()->update(["id" => "example_id", "organization_id" => "example"]);
$patched = $client->OrganizationWorkloadIdentity()->patch(["id" => "example_id", "organization_id" => "example"]);
$client->OrganizationWorkloadIdentity()->remove(["id" => "example_id", "organization_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

organization_workload_identity = client.OrganizationWorkloadIdentity().load({"organization_id": "example"})
created = client.OrganizationWorkloadIdentity().create({ "organization_id": "example" })
updated = client.OrganizationWorkloadIdentity().update({"id": "example_id", "organization_id": "example"})
patched = client.OrganizationWorkloadIdentity().patch({"id": "example_id", "organization_id": "example"})
client.OrganizationWorkloadIdentity().remove({"id": "example_id", "organization_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

organization_workload_identity = client.OrganizationWorkloadIdentity.load({ "organization_id" => "example" })
created = client.OrganizationWorkloadIdentity.create({ "organization_id" => "example" })
updated = client.OrganizationWorkloadIdentity.update({ "id" => "example_id", "organization_id" => "example" })
patched = client.OrganizationWorkloadIdentity.patch({ "id" => "example_id", "organization_id" => "example" })
client.OrganizationWorkloadIdentity.remove({ "id" => "example_id", "organization_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const organization_workload_identity = await client.OrganizationWorkloadIdentity().load({ organization_id: "example" })
const created = await client.OrganizationWorkloadIdentity().create({ organization_id: "example" })
const updated = await client.OrganizationWorkloadIdentity().update({ id: "example_id", organization_id: "example" })
const patched = await client.OrganizationWorkloadIdentity().patch({ id: "example_id", organization_id: "example" })
await client.OrganizationWorkloadIdentity().remove({ id: "example_id", organization_id: "example" })

Fields

Field Type Required Description
id string No Id

create

POST /api/v1/identity/organizations/{organization_id}/workload_identities/{id}/activate

Operation ID: activate_api_v1_organization_workload_identity.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/identity/organizations/{organization_id}/workload_identities/{id}/issue_exchange_token

Operation ID: issue_exchange_token_api_v1_organization_workload_identity.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/identity/organizations/{organization_id}/workload_identities/{id}/materialize

Operation ID: materialize_api_v1_organization_workload_identity.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/identity/organizations/{organization_id}/workload_identities/{id}/revoke

Operation ID: revoke_api_v1_organization_workload_identity.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/identity/organizations/{organization_id}/workload_identities/{id}/suspend

Operation ID: suspend_api_v1_organization_workload_identity.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/identity/organizations/{organization_id}/workload_identities

Operation ID: post_api_v1_identity_organizations_organization_id_workload_identities.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/identity/organizations/{organization_id}/workload_identities/token_exchange

Operation ID: token_exchange_api_v1_organization_workload_identities.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

load

GET /api/v1/identity/organizations/{organization_id}/workload_identities/{id}

Operation ID: api_v1_organization_workload_identity.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

GET /api/v1/identity/organizations/{organization_id}/workload_identities

Operation ID: api_v1_organization_workload_identities.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

patch

PATCH /api/v1/identity/organizations/{organization_id}/workload_identities/{id}

Operation ID: patch_api_v1_identity_organizations_organization_id_workload_identities_id_.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

remove

DELETE /api/v1/identity/organizations/{organization_id}/workload_identities/{id}

Operation ID: delete_api_v1_identity_organizations_organization_id_workload_identities_id_.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

update

PUT /api/v1/identity/organizations/{organization_id}/workload_identities/{id}

Operation ID: put_api_v1_identity_organizations_organization_id_workload_identities_id_.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway