PUT
/v1/Client/{clientId}/permissiontypesUpdate Client permissiontypes
Not yet documented — no summary in the API source.
Requires
Authorization: Bearer sk_...tenant_idPath parameters
clientIdstringrequiredRequest body application/json
idstringnullabletenant_idstringnullablecustom_email_domainstringnullableclient_logo_urlstringnullableclient_favicon_urlstringnullabledefault_email_addressstringnullablesecondary_email_addressesarray of stringnullablebulk_request_delivery_methodstringnullablebulk_request_delivery_typestringnullablepermission_update_logicstringnullablealiasstringnullablenamestringrequiredmin length 1descriptionstringnullabledefault_permission_valuestringrequiredmin length 1business_unitstringnullableidstringnullablenamestringrequiredmin length 1compliance_input_typestringrequiredmin length 1compliance_input_typesarray of stringnullablecustom_field_1_namestringnullablecustom_field_2_namestringnullablecustom_field_3_namestringnullablecustom_field_4_namestringnullablecustom_field_5_namestringnullablecustom_field_6_namestringnullablecustom_field_7_namestringnullableResponses
array of objectClientLawConfigurationExplicitType
namestringrequiredmin length 1descriptionstringnullabledefault_permission_valuestringrequiredmin length 1business_unitstringnullablecurl --request PUT \
--url 'https://api.4comply.io/v1/Client/00000000-0000-0000-0000-000000000000/permissiontypes' \
--header 'Authorization: Bearer sk_...' \
--header 'tenant_id: your-tenant-id' \
--header 'Content-Type: application/json' \
--data '{
"id": "00000000-0000-0000-0000-000000000000",
"tenant_id": "your-tenant-id",
"custom_email_domain": "user@example.com",
"client_logo_url": "https://example.com",
"client_favicon_url": "https://example.com",
"default_email_address": "user@example.com",
"secondary_email_addresses": [
"user@example.com"
],
"bulk_request_delivery_method": "string",
"bulk_request_delivery_type": "string",
"permission_update_logic": "string",
"alias": "Example name",
"explicit_permission_types": [
{
"name": "Example name",
"description": "Example text",
"default_permission_value": "string",
"business_unit": "string"
}
],
"permission_categories": [
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "Example name",
"compliance_input_type": "string"
}
],
"compliance_input_types": [
"string"
],
"custom_field_config": {
"custom_field_1_name": "Example name",
"custom_field_2_name": "Example name",
"custom_field_3_name": "Example name",
"custom_field_4_name": "Example name",
"custom_field_5_name": "Example name",
"custom_field_6_name": "Example name",
"custom_field_7_name": "Example name"
}
}'