Skip to main content
DELETE
Delete Allocation

Authorizations

Authorization
string
header
required

Uses the same authentication as the main COR API. Obtain a token from https://api.projectcor.com/v1/oauth/token

Body

application/json
userId
integer
required

ID of the user being allocated

companyId
integer
required

Company ID

resource
object
required
from
string<date>
required

Start date (YYYY-MM-DD)

to
string<date>
required

End date (YYYY-MM-DD). Must be after 'from' date and within 12 months.

assignedByUserId
integer
required

ID of the user who assigned the allocation

allocatedHours
number
required

Number of hours allocated

email
string<email>

User email (optional)

Response

Allocation deleted successfully