Path parameters
-
The ID of the team that the participant belongs to.
-
The key of the participant.
PUT /api/teams/{team}/participants/{participant}
curl \
-X PUT https://checkmango.com/api/teams/13/participants/facilis \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key":"jbrooksuk","notes":"reprehenderit"}'
Request example
{
"key": "jbrooksuk",
"notes": "reprehenderit"
}
Response examples (200)
{
"data": {
"id": "MAGNI_AUT_ET_CORPORIS",
"type": "participants",
"attributes": {
"id": 5,
"team_id": 52,
"key": "MAGNI_AUT_ET_CORPORIS",
"notes": null,
"created": {
"human": "1 second ago",
"string": "2024-04-08 10:42:02"
},
"updated": {
"human": "1 second ago",
"string": "2024-04-08 10:42:02"
}
},
"links": {
"self": {
"href": "http://checkmango.com/api/teams/52/participants/MAGNI_AUT_ET_CORPORIS"
}
}
}
}
Response examples (403)
{
"message": "Unauthenticated."
}
Response examples (404)
{
"message": "Not Found"
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"key": [
"The key has already been taken."
]
}
}