POST /api/private/lifecycle_management/access_requests HTTP/1.1
Host: your-tenant.cookiecloud.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2732
{
"request_type": 1,
"reason": "text",
"datasource_id": "text",
"assignee_entity_type": "text",
"assignee_entity_id": "text",
"target_entity_type": "text",
"target_entity_ids": [
"text"
],
"request_source": 1,
"request_source_id": "text",
"identity_id": "text",
"access_profile_id": "text",
"jit_duration_in_seconds": 1,
"initial_jobs": [
{
"job_id": "text",
"data_source": {
"id": "text",
"external_id": "text",
"agent_type": "text",
"data_provider_id": "text",
"data_source_config": {
"@type": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"data_provider_type": 1,
"data_provider_secret_refs": [
{
"secret_id": "text",
"vault_id": "text"
}
]
},
"input_entities": [
{
"table": "text",
"primary_key": [
"text"
],
"constraints": [
{
"type": 1,
"field_names": [
"text"
]
}
]
}
],
"action_type": 1,
"action_config": {
"@type": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"action_job_id": "text",
"action_name": "text",
"identity_id": "text",
"stop_on_error": true,
"ttl": "text"
}
],
"explanation": "text",
"sync_config": {
"config": {
"entity_type": {
"type": "text",
"datasource_id": "text"
},
"entity_attribute_transformers": [
{
"destination_attribute": "text",
"destination_value_formatter": "text",
"formatter_type": 1,
"continuous_sync": true,
"additional_value_formatter": [
"text"
],
"pipeline_functions": "text",
"unique_identifier": true
}
],
"create_allowed": true,
"continuous_sync": true,
"common_transformers": [
"text"
],
"create_guest_account": true,
"invite_guest_account": true,
"write_back_mode": true,
"require_password_change": true,
"password_complexity_rule": "text"
}
},
"deprovision_config": {
"config": {
"deprovision_type": 1,
"entity_type": {
"type": "text",
"datasource_id": "text"
},
"remove_all_relationships": true,
"relationships_to_create": [
{
"table": "text",
"primary_key": [
"text"
],
"constraints": [
{
"type": 1,
"field_names": [
"text"
]
}
]
}
],
"entity_attribute_transformers": [
{
"destination_attribute": "text",
"destination_value_formatter": "text",
"formatter_type": 1,
"continuous_sync": true,
"additional_value_formatter": [
"text"
],
"pipeline_functions": "text",
"unique_identifier": true
}
],
"common_transformers": [
"text"
],
"logout_user": true,
"remove_all_personal_devices": true,
"relationships_to_not_remove": [
{
"table": "text",
"primary_key": [
"text"
],
"constraints": [
{
"type": 1,
"field_names": [
"text"
]
}
]
}
],
"sync_identity_action_names": [
"text"
],
"password_complexity_rule": "text",
"remove_only_synced_relationships": true,
"disable_guest_account": true
}
},
"delete_config": {
"config": {
"entity_type": {
"type": "text",
"datasource_id": "text"
},
"entity_attribute_transformers": [
{
"destination_attribute": "text",
"destination_value_formatter": "text",
"formatter_type": 1,
"continuous_sync": true,
"additional_value_formatter": [
"text"
],
"pipeline_functions": "text",
"unique_identifier": true
}
],
"common_transformers": [
"text"
],
"sync_identity_action_names": [
"text"
]
}
},
"sync_identity_action": {
"policy_id": "text",
"name": "text"
}
}