Skip to content

Update client resources

Request

Update the list of resources that a client is allowed to explicitly request access to.

Required permissions: apps:edit, apps:create.

Security
ClientAccessToken or AdminAccessToken
Path
clientIdstringrequired
appIdstringrequired
Bodyapplication/jsonrequired
resource_idsArray of stringsrequired

List of resources this application is allowed to explicitly request access to

curl -i -X PUT \
  'https://api.sbx.transmitsecurity.io/cis/v1/applications/{appId}/clients/{clientId}/resources' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "resource_ids": [
      "string"
    ]
  }'

Responses

Bodyapplication/json
resultApiOidcClient (object) or ApiSamlClient (object)required
Any of:

The client

Response
{ "result": { "app_id": "string", "tenant_id": "string", "client_id": "string", "client_secret": "string", "name": "string", "description": "string", "resources": [ … ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "authentication_protocol": "oidc", "client_group_id": "string", "default_custom_claims": [ … ], "default_user_info_claims": [ … ], "sync_id_token_claims_to_userinfo": false, "short_cookies_samesite_type": "lax", "redirect_uris": [ … ], "client_type": "web", "response_types": [ … ], "token_endpoint_auth_method": "client_secret_basic", "pkce": "enforcePkceInsteadOfClientCredentials", "device_authorization": { … }, "ciba_authorization": { … }, "supported_prompts": [ … ], "authentication_configuration": { … }, "token_expiration": { … }, "session_expiration": 0, "enforce_par": true, "fapi_version_compliancy": true, "id_token_encryption": { … } } }