Create Access Link
POST
https://api.youvico.com/api/projects/:id/access-links- Rate Limit
- Tier 3
- Scope
- access-links:write
Creates an access link for a project. A project can have up to 10 access links.
Example
curl -X POST 'https://api.youvico.com/api/projects/bdbff5de-96d7-468f-9db0-85fe28bd6b62/access-links' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{ "role": "PROJECT_REVIEWER", "description": "Client review" }'
{
"data": {
"id": "5e0c7a92-1d4b-4f3a-8c6e-2b9d0f1a7e34"
}
}
Request
curl -X POST 'https://api.youvico.com/api/projects/bdbff5de-96d7-468f-9db0-85fe28bd6b62/access-links' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"role": "PROJECT_REVIEWER",
"description": "Client review"
}'
Response201 Created
{
"data": {
"id": "5e0c7a92-1d4b-4f3a-8c6e-2b9d0f1a7e34"
}
}
Request
Path
idstringrequiredProject ID
Body
rolestringrequiredProject role granted by the link
Possible values: PROJECT_MEMBERPROJECT_REVIEWERPROJECT_RESTRICTED_REVIEWER
Example: PROJECT_REVIEWER
descriptionstringMaximum 250 characters
Access link description
Example: Client review
Response
Returns 201 Created.
dataobjectCreated access link
data.idstringID of the created access link
Example: 5e0c7a92-1d4b-4f3a-8c6e-2b9d0f1a7e34