GET
/v1/mgmt/accesskey/attributeAuthorization
Descope Project ID and Management Key AuthorizationBearer <token>
Project ID:Management Key as bearer token.
In: header
Query Parameters
name?string
Get a single access key custom attribute definition by machine name, using a valid management key.
curl -X GET "https://api.descope.com/v1/mgmt/accesskey/attribute"{ "name": "string", "displayName": "string", "type": "string", "options": null, "viewPermissions": null, "editPermissions": null}/** * Custom attribute definitions (Terraform: descope_user_attribute / descope_tenant_attribute / descope_access_key_attribute). * Shared across all three entity types; the service converts type<->int32 and options<->{value,label} pairs. editPermissions * is rejected for tenant attributes (view-only). */export interface Response {name?: stringdisplayName?: stringtype?: string/** * JSON arrays of strings; Value makes empty and absent distinct: null/absent = keep, [] = clear, values = set. Validated in the service */options?: {[k: string]: unknown}/** * Represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. */viewPermissions?: {[k: string]: unknown}/** * Represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. */editPermissions?: {[k: string]: unknown}} Was this helpful?
Delete access key attribute DELETE
Delete a single access key custom attribute definition by machine name (no-op if absent), using a valid management key.
Rotate Access Key POST
Rotate an access key — regenerates the secret for an existing access key while preserving the same key ID, name, roles, tenants, expiry and metadata. The new cleartext is returned exactly once and the previous secret stops working immediately.