curl --request PATCH \
--url https://api.sandbox.tesouro.com/identity/v1/oidc-applications/{applicationId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"addScopes": [
"<string>"
],
"removeScopes": [
"<string>"
]
}
'{
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clientId": "<string>",
"displayName": "<string>",
"isEnabled": true,
"scopes": [
"<string>"
],
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Token types: APP, USER | Required scopes: oidc:app:write
curl --request PATCH \
--url https://api.sandbox.tesouro.com/identity/v1/oidc-applications/{applicationId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"addScopes": [
"<string>"
],
"removeScopes": [
"<string>"
]
}
'{
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clientId": "<string>",
"displayName": "<string>",
"isEnabled": true,
"scopes": [
"<string>"
],
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the application to update.
Cancellation token.
Scopes to add to the application. Each scope should be in format "payment_rail:ach", "payment_rail:rtp", or "payment_rail:fednow".
Scopes to remove from the application. Each scope should be in format "payment_rail:ach", "payment_rail:rtp", or "payment_rail:fednow".
Was this page helpful?