Users

List users

GET https://cp.elovade.cloud/api/v1/users?page=1

$ curl --header "Authorization: Bearer {token}" \ --header "Accept: application/json" \

Path Parameters

Name
Type
Description

per_page

Integer

Items to show per page

page

Integer

Current page

Create user

POST https://cp.elovade.cloud/api/v1/users

$ curl --header "Authorization: Bearer {token}" \ --header "Accept: application/json" \ --header "Content-Type: application/json" \ --request POST \ --data "{json}" \

Request Body

Name
Type
Description

tenant_id

String

UUID of tenant. If none is provided, the new user will be created in the authenticated user’s tenant

name*

String

User full name

email*

String

User email address

role*

String

User role (“admin” or “ro-admin”)

locale*

String

User locale code. See List locales

send_email

Boolean

Whether to send an email with credentials to the new user

Show user

GET https://cp.elovade.cloud/api/v1/users/{user}

$ curl --header "Authorization: Bearer {token}" \ --header "Accept: application/json" \

Update user

PUT https://cp.elovade.cloud/api/v1/users/{user}

$ curl --header "Authorization: Bearer {token}" \ --header "Accept: application/json" \ --header "Content-Type: application/json" \ --request PUT \ --data "{json}" \

Request Body

Name
Type
Description

name*

String

User full name

email*

String

User email address

role*

String

User role (“admin” or “ro-admin”)

locale*

String

User locale code. See List locales

Delete user

DELETE https://cp.elovade.cloud/api/v1/users/{user}

$ curl --header "Authorization: Bearer {token}" \ --header "Accept: application/json" \ --request DELETE \

Last updated