curl --request POST \
--url https://api.example.com/api/v2/projects/{project_id}/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_role_name": "Project Admin"
}
'{}Grant a user access to the project with a specified role. Requires project admin role.
curl --request POST \
--url https://api.example.com/api/v2/projects/{project_id}/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_role_name": "Project Admin"
}
'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
EmptyResponse()
The response is of type EmptyResponse · object.