Delete an assignment
Permanently removes an assignment. The underlying definition is not affected — only the binding between the definition and the actor is removed.
Path Parameters
projectId*string
Your Semaphor project ID.
assignmentId*string
The ID of the assignment to operate on.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X delete "https://semaphor.cloud/api/management/v1/projects/string/unified-security/assignments/string"{
"ok": true,
"data": {
"assignment": {
"id": "string",
"definitionId": "string",
"scopeType": "ALL_TENANTS",
"orgUserId": "string",
"tenantId": "string",
"tenantUserId": "string",
"params": {
"property1": "string",
"property2": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}
}{
"ok": false,
"error": {
"code": "INVALID_REQUEST",
"message": "string",
"details": {}
}
}{
"ok": false,
"error": {
"code": "INVALID_REQUEST",
"message": "string",
"details": {}
}
}{
"ok": false,
"error": {
"code": "INVALID_REQUEST",
"message": "string",
"details": {}
}
}{
"ok": false,
"error": {
"code": "INVALID_REQUEST",
"message": "string",
"details": {}
}
}