Add a user or team role to a space.
Add a user or team role to a space.
POST
/api/space-role/{spaceId}/addPath parameters
spaceIdnumberrequiredPath parameter: spaceId
Body
rolestringrequireduserintegerteamstringRequest
curl
curl -X POST https://platform.trickest.com/api/space-role/{spaceId}/add \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200Role added
successboolean400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring