update O Auth Scope With Id

PUT {{baseUrl}}/api/application/:applicationId/scope/:scopeId

Updates the OAuth scope with the given Id for the application.

Request Body

{"scope"=>{"applicationId"=>"<uuid>", "defaultConsentDetail"=>"<string>", "defaultConsentMessage"=>"<string>", "description"=>"<string>", "id"=>"<uuid>", "insertInstant"=>"<long>", "lastUpdateInstant"=>"<long>", "name"=>"<string>", "required"=>"<boolean>"}}

HEADERS

KeyDatatypeRequiredDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;scope&quot;:{&quot;applicationId&quot;:&quot;\u003cuuid\u003e&quot;,&quot;data&quot;:{&quot;tempor_d_2&quot;:{},&quot;minim__bb&quot;:{},&quot;ut6&quot;:{}},&quot;defaultConsentDetail&quot;:&quot;\u003cstring\u003e&quot;,&quot;defaultConsentMessage&quot;:&quot;\u003cstring\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;insertInstant&quot;:&quot;\u003clong\u003e&quot;,&quot;lastUpdateInstant&quot;:&quot;\u003clong\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;required&quot;:&quot;\u003cboolean\u003e&quot;}}