People
Add a category to a person
POST
Links an existing category to the person. data.added is true for a new link and false for an existing link. Additive and idempotent: re-linking the same category is a no-op and does not disturb the person's other categories. Requires people:write.
Body
application/json
category_ idstringrequiredCategory ID to link
Parameters
idstringrequiredpathPerson ID
Response
Category linked
400Bad RequestErrorResponse
Invalid id or body
401UnauthorizedErrorResponse
Invalid API key
403ForbiddenErrorResponse
Insufficient scope
404Not FoundErrorResponse
Person or category not found
422Unprocessable EntityErrorResponse
Validation failed
500Internal Server ErrorErrorResponse
Internal server error
Authorization
bearer_ authhttp (bearer) in headerAPI key or OAuth access token in Authorization header
Scopes: people:write
oauth2_ authoauth2OAuth authorization code flow with mandatory S256 PKCE.
Scopes: people:write
apikey_ authapiKey in queryAPI key in query string
Scopes: people:write
