/v1/spaces/{space_id}/members/{principal_id}/roles| Name | Type | Required | Description |
|---|---|---|---|
space_id | string (uuid) | Required | |
principal_id | string (uuid) | Required |
| Name | Type | Required | Description |
|---|---|---|---|
X-API-Key | string | Optional |
role_idobjectrole_keyobjectX-API-Key: ak.<key_id>.<secret>Authentication & errors →curl -X POST '/api/v1/spaces/{space_id}/members/{principal_id}/roles' \
-H 'X-API-Key: ak.<key_id>.<secret>' \
-H 'Content-Type: application/json' \
-d '{
"role_id": {},
"role_key": {}
}'No response body documented
X-API-Key: ak.<key_id>.<secret>Authentication & errors →curl -X POST '/api/v1/spaces/{space_id}/members/{principal_id}/roles' \
-H 'X-API-Key: ak.<key_id>.<secret>' \
-H 'Content-Type: application/json' \
-d '{
"role_id": {},
"role_key": {}
}'No response body documented