Logo
MicroStrategy REST API API Documentation

Delete a user or workload fence

DELETE {{baseUrl}}/api/iserver/fences/:name

Delete a sepcific fence based on the fence name, that the authenticated user has access to.

DssXmlPrivilegesConfigureServerBasic and DssXmlPrivilegesUseClusterMonitor privileges are required to delete an existing fence.

You obtain the authorization token needed to execute the request using POST /auth/login; You obtain the fence name using GET /iserver/fences. You pass the authorization token in the request header. You specify the fence name in the path of the request.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required) Authorization token




RESPONSES

status





Curl
curl -X DELETE 'baseUrl/api/iserver/fences/:name' -H 'X-MSTR-AuthToken: authToken'

ENDPOINTS