Nexfs Management API Documentation
Method Index
DeleteCertificate
Delete a Certificate From Nexfs using the management API
Action: DeleteCertificate
Delete a Certificate from Nexfs
Permissions
The requesting session must have the nexfs/ManageCertificate role enabled.
Request Parameters
A request must be made against the nexfs management console api with the DeleteCertificate action.
The request must be signed with a valid AWS V4 style Signature using an active temporary session security token.
Action
DeleteCertificate
CertificateIDX
The Nexfs Index of the Certificate to be deleted
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>
<DeleteCertificate>
<ResponseMetadata>
<RequestId>integer</RequestId>
</ResponseMetadata>
</DeleteCertificate>
<Resource>string</Resource>
</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
Resource
/nexfsconsoleapi
RequestId
A requestid number that identifies the request made against the management api
Errors
Also See Rest Error Responses
400 BadRequest The Request was Malformed
401 Unauthorized The request cannot be authenticated
403 Forbidden Session does not have the rights to perform the requested action
409 NoSuchEntity No Certificate was found with the request index
500 InternalServerError An Internal Error was encountered
Example Request
GET /nexfsconsoleapi?Action=DeleteCertificate&CertificateIDX=3&SessionToken=30ea39edf6614e86a14c843028ff2580 HTTP/1.1\r\nAccept-Encoding: identity\r\nUser-Agent: python-urllib3/2.0.7\r\nhost: mgmtapi.nexfsbuild02.nexfs.com:9200\r\nx-amz-date: 20250506T030153Z\r\nAuthorization: AWS4-HMAC-SHA256 Credential=88a31956b0164704ac72a2eba7d8d28d/20250506/nexfs/nexfsconsoleapi/aws4_request, SignedHeaders=host;x-amz-date, Signature=764a9dc3ca116e90fb1b4b2d9fea9d97be3f442ba4b3875dd199111264362639\r\n\r\n
Example Response
<RequestCompleted>
<Code>OK</Code>
<DeleteCertificate>
<ResponseMetadata>
<RequestId>355</RequestId>
</ResponseMetadata>
</DeleteCertificate>
<Resource>/nexfsconsoleapi</Resource>
</RequestCompleted>