Assign contributor position
put
https://api.intelig.ai/api/v1/intelig/contributors/{id}/position
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: assignPosition
Assigns a role to a contributor
Example request
curl -X PUT "https://api.intelig.ai/api/v1/intelig/contributors/1/position" \
-H "Authorization: ApiKey $INTELIG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"roleId": 5
}' Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (int64) | yes | — |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
roleId | integer (int64) | yes | The role ID to assign Example: 5 |
Response 200
application/json · ApiResponseContributorDetailDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | ContributorDetailDto | Detailed contributor with position information |
Status codes
200— Position assigned successfully400— Invalid request body401— Not authenticated403— Insufficient permissions to access code intelligence pillar404— Contributor or role not found429— —
Every response is wrapped in { success, message, data }. A 4xx means the request
is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.