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

Delete user

DELETE
/agent/integration/api/v1/users/users/{{user_id}}
Delete a user from the Spencer platform.

#

Warning: This will also delete any data attached to the user. If you do not want to fully remove a user, archive the user instead by setting the archived_at date in the PUT user api call.
This action CAN NOT be undone.

Request

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

Request Code Samples

Shell
HTTP
Request Request Example
Shell
HTTP
curl --location --globoff --request DELETE '/agent/integration/api/v1/users/users/{{user_id}}' \
--header 'x-spencer-request-id;' \
--header 'Authorization: Bearer <token>'

Responses

🟢204
application/json
Bodyapplication/json

Example
{}
🟠401401.unauthorized
🟠403403.forbidden
🟠404404.notFound
🔴500500.internalServerError
Previous
Update user
Next
Check if user exists
Built with