Update Access Profile Labels

Update the labels assigned to an access profile

Endpoint

PATCH /api/private/lifecycle_management/access_profiles/{id}

Description

Updates the labels assigned to a specific access profile. Labels help categorize and organize access profiles for easier management and filtering.

Common label usage patterns:

  • Categorization (e.g., "development", "production", "sensitive")

  • Request workflow (e.g., "requestable", "auto-approved")

  • Business function (e.g., "finance", "engineering", "sales")

API Reference

patch
Authorizations
AuthorizationstringRequired

Bearer token authentication using a Veza Personal API key.

Header Format: Authorization: Bearer <your-api-key>

Creating an API Key:

  1. Log into your Veza tenant
  2. Navigate to Administration โ†’ API Keys
  3. Generate a new API key and save the value securely
Path parameters
value.idstringRequired
Query parameters
update_maskstring ยท field-maskOptional
Body
idstringRead-onlyOptional
namestringOptional
descriptionstringOptional
stateinteger ยท enumOptional
profile_typestringOptional
current_version_numberinteger ยท int32Read-onlyOptional

The version that is currently live and running

draft_version_numberinteger ยท int32Read-onlyOptional

The version that is being edited and in draft form (0 if there is none)

used_by_workflowbooleanRead-onlyOptional
integrationsstring[]Read-onlyOptional
access_profiles_inheritedstring[]Read-onlyOptional
access_profiles_inherited_bystring[]Read-onlyOptional
inherits_from_other_profilesbooleanRead-onlyOptional
inherited_by_other_profilesbooleanRead-onlyOptional
labelsstring[]Optional
provider_idsstring[]Read-onlyOptional
provider_external_idsstring[]Read-onlyOptional
datasource_idsstring[]Optional
rbac_idstringRead-onlyOptional
requestablebooleanRead-onlyOptional
require_approval_to_startbooleanOptional
started_atstring ยท date-timeRead-onlyOptional
started_bystringRead-onlyOptional
access_request_policy_idstringRead-onlyOptional

The access request policy that is associated with the access profile

last_synced_atstring ยท date-timeRead-onlyOptional

Last time the profile was synced with the target

sync_allowedbooleanRead-onlyOptional

Sets if this profile is allowed to sync or not, this is only allowed if the type's create_entitlement_based_on_profile is true

last_sync_job_idsstring[]Read-onlyOptional

The Job IDs for the last time it was synced

identity_created_bystringRead-onlyOptional

The identity that created the access profile

last_sync_error_messagestringRead-onlyOptional

If the sync job failed what is the error message

profile_type_rbac_idstringOptional
not_allowed_for_managed_relationshipsbooleanRead-onlyOptional

If set, the UI should not make this an option for adding to a manage relationship

created_bystringRead-onlyOptional
created_atstring ยท date-timeRead-onlyOptional
updated_atstring ยท date-timeRead-onlyOptional
Responses
200

OK

application/json
patch
/api/private/lifecycle_management/access_profiles/{value.id}

Request schema

Path parameters

Path parameter
Type
Required?
Description

id

string

Required

Unique identifier of the access profile

Request body

Field
Type
Required?
Description

labels

array

Required

Array of label strings to assign to the access profile

Request Examples

Response Examples

Last updated

Was this helpful?