Path parameters
-
user_id
string Required
POST
/api/users/{user_id}/labels
curl \
-X POST https://metropolitanabogota.org/api/users/{user_id}/labels \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"labels":[{"id":"string"}]}'
Request example
{
"labels": [
{
"id": "string"
}
]
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}