Deactivates contractor with the specified identifier.

Request

POST http:///api/v2/business/{businessId}/contractor/{contractorId}/deactivate

Path parameters

Parameter name Value Description Additional
contractorId int32 Required
businessId string Required

Request body

The request body takes a complete DeactivateContractorModel resource, containing the following writable properties:

{
    "endDate": "date-time"
}

Properties

Name Type Description
endDate date-time DateTime

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK

400 Bad Request

Bad Request

ProblemDetails
404 Not Found

Not Found

ProblemDetails