Mencabut token otentikasi untuk konsumen.
Deskripsi operasi
This API uses an access token issued by IDaaS to authenticate and authorize requests.
Make sure that the access token you provide has the 'Manage authentication tokens' permission for the built-in Privileged Access Management (PAM) application in IDaaS.
The required scope is urn:cloud:idaas:pam|authentication_token:manage.
This operation can revoke only JWT authentication tokens.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST /v2/{instanceId}/authenticationTokens/_/actions/revokeByConsumer HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Authorization |
string |
Yes |
Informasi otentikasi. Format: Bearer ${access_token}. Catatan
Masukkan token akses yang diterbitkan oleh IDaaS. |
Bearer xxxxxx |
| body |
object |
No |
Badan permintaan. |
|
| consumerId |
string |
Yes |
Consumer ID of the authentication token. |
test_jwt_subject |
| credentialProviderIdentifier |
string |
Yes |
Credential provider identifier. |
test_example_identifier |
Elemen respons
|
Element |
Type |
Description |
Example |
Tidak ada yang didefinisikan.
Contoh
Respons sukses
JSONformat
{}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.