Request Structure

URL: /certificate/action

Type: PUT

Name Param Type Description Field Type Constraints
sessionId Header Session Id received after login. String Required if username and password are not provided.
username Header AppViewX login username. String Required if sessionId is not provided.
password Header AppViewX login password. String Required if sessionId is not provided.
Content-Type Header Specifies the nature of the data in the payload. String Value of the param should be ‘application/json’.
gwkey Query Tenant Key. This is needed only in case of multi tenant installations and can be ignored in other type of installations. String NA
gwsource Query Source from which the request is triggered(E.g. external). String NA
Payload Body Contains all the params to be sent in the request body for the post request. Payload NA
Payload
Name Mandatory Description Field Type Constraints
resourceId No Unique Id of the certificate. String Required if the commonName and serialNumber are not specified.
commonName No Common name of the certificate. String Required if resourceId is not specified.
serialNumber No Serial number of the certificate. String Required if resourceId is not specified.
action Yes Action name for the revocation. String Value should be Revoke.
reason Yes Reason for revocation. String NA