Delete Resource

Delete a resource.

URL: /resource

Type: DELETE

Parameter

Param Type Name Description Field Type
Header sessionId ** Session Id received after login string
Query Gwkey Tenant Key. Needed only in case of multitenant installations string
Query gwsource** Source from which the request is triggered (for example, web, external) String
Query resourceName** Name of the resource to be deleted. String

Possible Response Message and Code

HTTP Code Description Response Message
400 Bad request ResourceName cannot be empty
200 OK Resource deleted successfully
404 Not Found Resource Name does not exist
403 Forbidden Current user(s) aclIdentifier/resource cannot be deleted