Access keys

List access keys

get

List the access keys that are created for this organization.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

Query parameters
limitinteger · min: 1 · max: 100Optional

Limits the number of results to return

Default: 10
pageTokenstringOptional

Pagination token that keeps of track of the current position in the list

reversebooleanOptional

Order in which to retrieve the results

Default: false
Responses
chevron-right
200

OK

application/json
get
/organizations/{organizationId}/access-keys

Create access key

post

Create a new access key for the organization.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

Body
namestring · min: 1 · max: 256Required

Access key name.

descriptionstring · min: 1 · max: 256Required

Access key description.

roleIdsstring · uuid[] · min: 1 · max: 5OptionalDeprecated

IAM roles attached to this access key.

Responses
post
/organizations/{organizationId}/access-keys

Get access key

get

Retrieve a single access key.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

accessKeyIdstringRequired

ID for an access key

Responses
chevron-right
200

OK

application/json

The access key record.

idstring · uuidRequired

ID of the access key.

organizationIdstring · uuidRequired

ID of the organization that owns the access key.

namestring · min: 1 · max: 256Required

Access key name.

typestring · enumOptionalPossible values:
descriptionstring · min: 1 · max: 256Optional

Access key description.

suffixstring · min: 6 · max: 6Required

Access key suffix.

lastUsedAtstring · date-time · nullableOptional

When the access key was last used.

createdAtstring · date-timeRequired

When the access key was created.

updatedAtstring · date-timeOptional

When the access key was last updated.

get
/organizations/{organizationId}/access-keys/{accessKeyId}

Delete access key

delete

Remove the access key from the organization.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

accessKeyIdstringRequired

ID for an access key

Responses
delete
/organizations/{organizationId}/access-keys/{accessKeyId}

No content

Update access key

patch

Update the access key's properties.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

accessKeyIdstringRequired

ID for an access key

Body
namestring · min: 1 · max: 256Optional

Access key name.

descriptionstring · min: 1 · max: 256Optional

Access key description.

roleIdsstring · uuid[] · min: 1 · max: 5OptionalDeprecated

IAM roles attached to this access key.

Responses
chevron-right
200

OK

application/json

The access key record.

idstringRequired

ID of the access key.

organizationIdstringRequired

ID of the organization that owns the access key.

namestring · min: 1 · max: 256Required

Access key name.

typestring · enumOptionalPossible values:
descriptionstring · min: 1 · max: 256Optional

Access key description.

suffixstring · min: 6 · max: 6Required

Access key suffix.

lastUsedAtstring · date-time · nullableOptional

When the access key was last used.

createdAtstring · date-timeRequired

When the access key was created.

updatedAtstring · date-timeOptional

When the access key was last updated.

roleIdsstring[] · max: 5OptionalDeprecated

IDs of IAM roles attached to the access key.

patch
/organizations/{organizationId}/access-keys/{accessKeyId}

Last updated

Was this helpful?