Docs
Associate Resource Rate Card
POST /resources/{resourceId}/rate-cards
POST
/resources/{resourceId}/rate-cardsRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Organization token | x-Organization-Token | Optional | Run **Authorize Organization** in the Authorization folder. |
Links one of the resource's type's own rate cards to the resource. isDefault makes it the resource's default.
Requires
ResourceInventory.Edit permission.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceId | Guid | Required | The org resource. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| rateCardId | Guid | Required | A card the resource's type owns. |
| isDefault | bool | Optional | Make it the resource's default. |
Response
201 Created. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | Already linked, or a card from another type. |
| 404 | Resource or card not found. |