Skip to main content
PATCH
Update user details

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

userId
string
required

Body

application/json

Email address must be unique

Request payload to update user profile and billing details.

email
string

This email format is validated, but it is not verified by sending an email.

vatNumber
string

12 character VAT number.

Example:

"SE123456789012"

billingAddress
object

Billing address associated with the user account.

Response

OK. Returns the updated user.

User profile details returned by user management endpoints.

id
string
required

User identifier

Example:

"b5d00e95-b998-4a33-9210-84777f4cb4f9"

hasDebt
boolean
required

true if any of the sessions payments failed. (Relevant only if clearing is done by Plugsurfing)

Example:

false

email
string

User email address.

Example:

"john.smith@plugsurfing.com"

vatNumber
string

VAT number associated with the user.

billingAddress
object

Billing address associated with the user.

userGroups
object[]

User groups the user currently belongs to.