Badges
Update a Badge
Changed onOAuth Scope
This endpoint requires the following OAuth scope manage_badges.
post/badge/{uuid}.json
Request
- Base URLhttps://api.servicem8.com/api_1.0
- URLhttps://api.servicem8.com/api_1.0/badge/{uuid}.json
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.servicem8.com/oauth/authorizeToken URL: https://api.servicem8.com/oauth/access_token scopes: manage_badges
Path parameters
uuidstring uuid required
UUID of the Badge
Request body
Example request
{
"uuid": "123e4567-fe09-41de-b7d5-23f946b700cb",
"regarding_form_uuid": "123e4567-4b68-437d-98c2-23f94cecbf3b",
"regarding_asset_type_uuid": "123e4567-6dcd-492c-8c70-23f9414984cb"
}Response
Success - The record was updated successfully
Example response
{
"message": "OK"
}Changes
- warning
removed the request property
- warning
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info