Discard a candidate role

post

/oiri/api/v1/tasks/{taskId}/candidate-roles/{candidateRoleId}/discard

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : CandidateRoleDTO
Type: object
Show Source
Back to Top

Examples

The following example shows how to discard a candidate role.

curl -X POST\
-H "Accept: application/json"\
-H "Authorization: Bearer $token"\
"http://localhost:port/oiri/api/v1/tasks/70561adbfdd7474290b77d5903210c6b/candidate-roles/f80c8560a3b44fc196992de05f26950b/discard"

Example of the Response Body

The following is an example of the response body in JSON format.

{
"id": "f80c8560a3b44fc196992de05f26950b",
"name": null,
"description": "cr_ Candidate Role for the Cluster : 7",
"jobId": "70561adbfdd7474290b77d5903210c6b",
"clusterId": 7,
"status": "READY_DISCARDED",
"userCount": 1,
"entitlementCount": 4,
"applicationCount": 3,
"totalUserCount": 41,
"totalEntitlementCount": 37,
"misAlignedUserCount": 0,
"misAlignedEntitlementCount": 0,
"userCoverage": 50,
"entitlementCoverage": 50,
"confidence": 100,
"createdDate": "2021-04-22T12:50:51.833+00:00",
"createdBy": "RFROST",
"lastModifiedDate": "2021-04-23T10:10:15.076+00:00"
}
Back to Top