Nexfs Management API Documentation
Method Index
RevokeSessionToken
Revoking a session token used to access the Nexfs Management API
Action: RevokeSessionToken
Disable an active Nexfs Management API session security token.
Permissions
To revoke a token that is assigned to another user ID the requesting session must have the iam/RevokeOtherUserToken role enabled.
Request Parameters
A request must be made against the nexfs management console api with the RevokeSessionToken Action.
The request must be signed with a valid AWS V4 style Signature using an active temporary session security token.
Action
RevokeSessionToken
SessionToken
A valid active session token id
Request Body
The request does not have a request body.
Response Syntax
HTTP1/1 200
<?xml version="1.0" encoding="UTF-8"?>
<RequestCompleted>
<Code>string</Code>
<Message>string</Message>
<Resource>string</Resource> <RequestId>integer</RequestId>
</RequestCompleted>
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in XML format by the service.
RequestCompleted
Root Level tag for the successful Revoke Session response
Code
OK
Message
Request Completed
Resource
/nexfsconsoleapi
RequestId
A requestid number that identifies the request made against the management api
Errors
Also See Rest Error Responses
401 Unauthorized The request cannot be authenticated
404 NoSuchToken The Session Token to revoke was not Found
403 Forbidden Session does not have the rights to perform the requested action
Example Request
GET http://nexfs.example.com/nexfsconsoleapi?Action=RevokeSessionToken?SessionToken=c98434711b9a4f2ab5a36975e0614575
Authorization: AWS4-HMAC-SHA256 Credential=barry/20220830/nexfs/nexfsconsole/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=5d672d79c15b13162d9279b0855cfba6789a8edb4c82c400e06b5924a6f2b5d7
content-type: application/x-www-form-urlencoded; charset=utf-8
host: nexfs.example.com
x-amz-date: 20220420T123600
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<RequestCompleted>
<Code>OK</Code>
<Message>Request Completed</Message>
<Resource>nexfsconsoleapi</Resource>
<RequestId>1231212</RequestId>
</RequestCompleted>