Update Field Permissions

PATCH {{baseUrl}}/api/v1/organizationFields/:field_id/permissions

This API update field permissions

OAuth Scope

  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription
profiles<list>
null

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;profileName&quot;:&quot;Administrator&quot;,&quot;isReadOnly&quot;:false,&quot;profileId&quot;:&quot;4000000012339&quot;,&quot;isInVisibleAccess&quot;:false,&quot;isReadAccess&quot;:false,&quot;isInVisible&quot;:false,&quot;isWriteOnly&quot;:true,&quot;isWriteAccess&quot;:true,&quot;isCustomProfile&quot;:false},{&quot;profileName&quot;:&quot;Standard&quot;,&quot;isReadOnly&quot;:false,&quot;profileId&quot;:&quot;4000000012342&quot;,&quot;isInVisibleAccess&quot;:false,&quot;isReadAccess&quot;:false,&quot;isInVisible&quot;:false,&quot;isWriteOnly&quot;:true,&quot;isWriteAccess&quot;:true,&quot;isCustomProfile&quot;:false},{&quot;profileName&quot;:&quot;Supervisor&quot;,&quot;isReadOnly&quot;:false,&quot;profileId&quot;:&quot;4000000012348&quot;,&quot;isInVisibleAccess&quot;:false,&quot;isReadAccess&quot;:false,&quot;isInVisible&quot;:false,&quot;isWriteOnly&quot;:true,&quot;isWriteAccess&quot;:true,&quot;isCustomProfile&quot;:false},{&quot;profileName&quot;:&quot;Support Manager&quot;,&quot;isReadOnly&quot;:false,&quot;profileId&quot;:&quot;4000000012351&quot;,&quot;isInVisibleAccess&quot;:false,&quot;isReadAccess&quot;:false,&quot;isInVisible&quot;:false,&quot;isWriteOnly&quot;:true,&quot;isWriteAccess&quot;:true,&quot;isCustomProfile&quot;:false},{&quot;profileName&quot;:&quot;Newbie Agent&quot;,&quot;isReadOnly&quot;:false,&quot;profileId&quot;:&quot;4000000012354&quot;,&quot;isInVisibleAccess&quot;:false,&quot;isReadAccess&quot;:false,&quot;isInVisible&quot;:false,&quot;isWriteOnly&quot;:true,&quot;isWriteAccess&quot;:true,&quot;isCustomProfile&quot;:false},{&quot;profileName&quot;:&quot;Light Agent&quot;,&quot;isReadOnly&quot;:false,&quot;profileId&quot;:&quot;4000000012357&quot;,&quot;isInVisibleAccess&quot;:false,&quot;isReadAccess&quot;:false,&quot;isInVisible&quot;:false,&quot;isWriteOnly&quot;:true,&quot;isWriteAccess&quot;:true,&quot;isCustomProfile&quot;:false}]}