1. Users
Spencer Integration API
  • Spencer Integration API
  • Identity
    • Request access token
      POST
  • News
    • Fetch news publications
      GET
    • Fetch news publications for userlist
      GET
    • Create news draft
      POST
  • Users
    • Create user
      POST
    • Fetch user
      GET
    • Update user
      PUT
    • Delete user
      DELETE
    • Check if user exists
      HEAD
    • Add user profile picture
      POST
    • Create user tag
      POST
    • Update user tag
      PUT
    • Check if user tag exists
      HEAD
  • Document library
    • Fetch node
      GET
  • Notifications
    • Create notification
      POST
  1. Users

Update user tag

PUT
/agent/integration/api/v1/users/tags/{tagId}
Updates the (translated) values of a user tag.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/json

Example
{
    "translations": [
        {
            "locale": "string",
            "name": "string"
        }
    ]
}

Request Code Samples

Shell
HTTP
Request Request Example
Shell
HTTP
curl --location --request PUT '/agent/integration/api/v1/users/tags/' \
--header 'x-spencer-request-id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "translations": [
        {
            "locale": "string",
            "name": "string"
        }
    ]
}'

Responses

🟢200200.user_tag
application/json
Bodyapplication/json

Example
{"id":"12345","translations":[{"locale":"en-US","name":"proident nisi nostrud nulla aliquip"},{"locale":"fr-BE","name":"sint"},{"locale":"nl-BE","name":"non Duis "}]}
🟠400400.badRequest
🟠401401.unauthorized
🟠403403.forbidden
🟠404404.notFound
🔴500500.internalServerError
Previous
Create user tag
Next
Check if user tag exists
Built with