RotateSecret
RotateSecret
Path Parameters
workspaceName string required
attribute-key string required
Header Parameters
Authorization string
Example: Bearer {{access-token}}
Sample Response
{
"status": "200",
"body":{
"message":"Rotated Successfully"
}
}
HTTP STATUS CODE SUMMARY | ||
---|---|---|
200 - OK | Successfully done. | |
201 - OK | Successfully created. | |
400 - Bad Request | The request was unacceptable, often due to missing a required parameter. | |
401 - Unauthorized | Unauthorized access try with correct access. | |
402 - Request Failed | The parameters were valid but the request failed. | |
403 - Forbidden | The Application doesn't have permissions to perform the request. | |
404 - Not Found | The requested resource doesn't exist | |
500 - Server Errors | Something went wrong on ezto auth's end. (These are rare.) | |
503 - Server Errors | Service temporarily unavailable |
GET /auth/admin/realms/:workspaceName/special-attributes/rotate/:attributeKey
Request
Request
curl / cURL
curl -L -g -X POST 'https://{{host}}/auth/admin/realms/:workspaceName/special-attributes/rotate/:attributeKey' \
-H 'Content-Type: application/json' \
--data-raw ''
python / requests
curl -L -g -X POST 'https://{{host}}/auth/admin/realms/:workspaceName/special-attributes/rotate/:attributeKey' \
-H 'Content-Type: application/json' \
--data-raw ''
go / native
curl -L -g -X POST 'https://{{host}}/auth/admin/realms/:workspaceName/special-attributes/rotate/:attributeKey' \
-H 'Content-Type: application/json' \
--data-raw ''
nodejs / axios
curl -L -g -X POST 'https://{{host}}/auth/admin/realms/:workspaceName/special-attributes/rotate/:attributeKey' \
-H 'Content-Type: application/json' \
--data-raw ''
ruby / Net::HTTP
curl -L -g -X POST 'https://{{host}}/auth/admin/realms/:workspaceName/special-attributes/rotate/:attributeKey' \
-H 'Content-Type: application/json' \
--data-raw ''
csharp / RestSharp
curl -L -g -X POST 'https://{{host}}/auth/admin/realms/:workspaceName/special-attributes/rotate/:attributeKey' \
-H 'Content-Type: application/json' \
--data-raw ''
php / cURL
curl -L -g -X POST 'https://{{host}}/auth/admin/realms/:workspaceName/special-attributes/rotate/:attributeKey' \
-H 'Content-Type: application/json' \
--data-raw ''
java / OkHttp
curl -L -g -X POST 'https://{{host}}/auth/admin/realms/:workspaceName/special-attributes/rotate/:attributeKey' \
-H 'Content-Type: application/json' \
--data-raw ''