v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Identity Specific Privileges

Create a temporary or a expiring specific privilege for identity.

post/api/v1/additional-privilege/identity/temporary

Request body

identityIdstring required

The ID of the machine identity to create.

projectSlugstring required

The slug of the project of the identity in.

slugstring

The slug of the privilege to create.

temporaryMode'relative' required

Type of temporary access given. Types: relative.

temporaryRangestring required

TTL for the temporary time. Eg: 1m, 1h, 1d.

temporaryAccessStartTimestring date-time required

ISO time for which temporary access should begin.

Response

Default Response