Enable or disable resource decommission of client

This endpoint is used to enable or disable resource decommission at partner level.

Leave Feedback

URL

POST https://{api-url}/api/v2/tenants/{mspId}/decommission/{action}

Sample URLs

https://{api-url}/api/v2/tenants/msp_6/decommission/enable
https://{api-url}/api/v2/tenants/msp_6/decommission/enable

Status code

200 OK

For clients of a partner

Sample request

{
	"allClients": "TRUE"
}

Sample response

200 OK

For selected clients of a partner

Sample request

{
	"clients": "3,4,5"
}

Sample response

200 OK