Roles
Create a role
Changed onCreates a role, assigning a user to an account group or business entity.
The entity_type parameter determines whether entity_id refers to an account group or a business, and constrains which role_type values are valid.
See the User roles guide (TOL / BYOL) for role types and assignment rules.
post/roles
Request
- Base URLhttps://sandbox.upvest.co
- AuthOAuth 2Client credentialsToken URLhttps://sandbox.upvest.co/auth/tokenScopesroles:admin
Headers
idempotency-keystring uuid required
Example:ccb07f42-4104-44ad-8e1f-c660bb7b269c
A UUID to be used as an idempotency key. This prevents a duplicate request from being replayed. https://docs.upvest.co/documentation/concepts/api_concepts/idempotency
Request body
Response
Role created.
Changes
- warning
added the new
OWNERenum value to the//response property for the response status - info
added the new
OWNERenum value to the request property/
- warning