User role
OpenAPI V2
Set the role of a user on the platform. Admin functionality only.
Authorizations
Header parameters
x-api-versionstringRequired
ApplicationNameanyOptional
Name of the application to integrates with API’s to Semansys.Next.
PartnerNameanyOptional
Contract owner (organization) name that have embedded the API’s.
PartnerIDanyOptional
Business Identification Number (BIN) of the contract owner (organization) to embeds the API’s.
CustomerNameanyOptional
Customer (organization) name (ie. accounting firm, intermediary, ....).
CustomerIDanyOptional
Business Identification Number (BIN) of the customer.
ClientNameanyOptional
Client (organization) name of the customer of the accounting firm, intermediary...
ClientIDanyOptional
Business Identification Number (BIN) of the client.
Body
emailstring | nullableOptionalPattern:
The user's email which role is going to be changed.
^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$
roleinteger · enumOptionalPossible values:
The user's role values range from 1 to 5: 1 for admin, 2 for manager, 3 for user, 4 for guest and 5 for cc user.
Responses
200
OK
Responsestring
400
Bad Request
401
Unauthorized
post
POST /customer-corner/user-role HTTP/1.1
Host:
Authorization: Bearer JWT
x-api-version: text
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"email": "text",
"role": 1
}
http://www.nltaxonomie.nl/nt18/kvk/20231213/entrypoints/kvk-rpt-jaarverantwoording-2023-nlgaap-micro.xsd
Was this helpful?