Pin or unpin a project for the signed-in account
curl --request PATCH \
--url https://api.lunary.ai/v1/projects/{projectId}/pin \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pinned": true
}'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isPinned": true
}Projects
Pin or unpin a project for the signed-in account
PATCH
/
v1
/
projects
/
{projectId}
/
pin
Pin or unpin a project for the signed-in account
curl --request PATCH \
--url https://api.lunary.ai/v1/projects/{projectId}/pin \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pinned": true
}'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isPinned": true
}Authorizations
Human account session; project and organization API keys are rejected.
Path Parameters
Body
application/json