Remove allowed scope from application

PATCH {{stripeUrl}}/admin/v1/Apps/{{appid}}

Remove an allowed scope from the application

Request Body

{"schemas"=>["urn:ietf:params:scim:api:messages:2.0:PatchOp"], "Operations"=>[{"op"=>"remove", "path"=>"allowedScopes[fqs ew \"/myprofile\"]"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring
Datestring
x-content-sha256string

RESPONSES

status: OK

{"accessTokenExpiry":3600,"clientType":"confidential","isAliasApp":false,"audience":"https://api.mytestapp.com","meta":{"created":"2019-03-18T07:22:53.733Z","lastModified":"2019-03-18T08:51:28.769Z","resourceType":"App","location":"https://bravoe.identity.internal.oracle.com/admin/v1/Apps/1729053f9c4043058501e9455e660cd8"},"active":true,"isLoginTarget":true,"idcsCreatedBy":{"display":"Demo","type":"App","value":"c4b20a6b16e24fec9e3e18322c997297","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Apps/c4b20a6b16e24fec9e3e18322c997297"},"displayName":"Test Client and Resource Server","showInMyApps":true,"isMobileTarget":false,"allowOffline":false,"isUnmanagedApp":false,"idcsLastModifiedBy":{"display":"Demo","type":"App","value":"c4b20a6b16e24fec9e3e18322c997297","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Apps/c4b20a6b16e24fec9e3e18322c997297"},"isOPCService":false,"refreshTokenExpiry":604800,"name":"a192ad5a853149729ad12dacf76271ed","description":"Client and Resource server application for testing purposes","isOAuthClient":true,"isManagedApp":false,"isSamlServiceProvider":false,"infrastructure":false,"allUrlSchemesAllowed":false,"trustScope":"Explicit","id":"1729053f9c4043058501e9455e660cd8","isWebTierPolicy":false,"loginMechanism":"OIDC","allowAccessControl":false,"isOAuthResource":true,"migrated":false,"logoutUri":"https://www.mytestapp.com/logout","isKerberosRealm":false,"allowedGrants":["authorization_code","client_credentials","refresh_token"],"attrRenderingMetadata":[{"name":"aliasApps","visible":false}],"postLogoutRedirectUris":["https://www.mytestapp.com/"],"basedOnTemplate":{"value":"CustomWebAppTemplateId","wellKnownId":"CustomWebAppTemplateId","lastModified":"2019-02-28T12:05:16Z","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/AppTemplates/CustomWebAppTemplateId"},"scopes":[{"fqs":"https://api.mytestapp.com/mysettings","value":"/mysettings","requiresConsent":true,"description":"Get information about your preferences"},{"fqs":"https://api.mytestapp.com/post","value":"/post","requiresConsent":true,"description":"Post on your behalf"},{"fqs":"https://api.mytestapp.com/myprofile","value":"/myprofile","requiresConsent":false,"description":"Access your profile information"}],"redirectUris":["https://www.mytestapp.com/callback"],"schemas":["urn:ietf:params:scim:schemas:oracle:idcs:App"],"clientSecret":"386835bc-5de9-4f3e-986a-0be33c1df591"}