All pages
Powered by GitBook
1 of 1

Loading...

User role

OpenAPI V2

User role.

post

Set the role of a user on the platform. Admin functionality only.

Authorizations
AuthorizationstringRequired

Please enter token

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 | nullableOptional

The user's email which role is going to be changed.

Pattern: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$
roleinteger · enumOptional

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.

Possible values:
Responses
200

OK

Responsestring
400

Bad Request

401

Unauthorized

post
/customer-corner/user-role
http://www.nltaxonomie.nl/nt18/kvk/20231213/entrypoints/kvk-rpt-jaarverantwoording-2023-nlgaap-micro.xsd
POST /customer-corner/user-role HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-version: text
Content-Type: application/json
Accept: */*
Content-Length: 25

{
  "email": "text",
  "role": 1
}