Create a user
Creates a new user. Specify the user's full name and email address to generate an email message that is sent to the user with an invitation to activate their Clumio account.
- application/json
Request Body
access_control_configuration object[]
- email string required
The email address of the user to be added to Clumio.
- full_name string required
The full name of the user to be added to Clumio. For example, type the user's first name and last name. The name displays on the User Management screen and in the body of the email invitation.
- 200
- default
Success
- application/api.clumio.users=v2+json
- Schema
- Example (from schema)
Schema
_embedded object
- _etag string
ETag value
_links object
access_control_configuration object[]
- email string
The email address of the Clumio user.
- full_name string
The first and last name of the Clumio user. The name appears in the User Management screen and is used to identify the user.
- id string
The Clumio-assigned ID of the Clumio user.
- inviter string
The ID number of the user who sent the email invitation.
- is_confirmed boolean
Determines whether the user has activated their Clumio account. If
true
, the user has activated the account. - is_enabled boolean
Determines whether the user is enabled (in "Activated" or "Invited" status) in Clumio. If
true
, the user is in "Activated" or "Invited" status in Clumio. Users in "Activated" status can log in to Clumio. Users in "Invited" status have been invited to log in to Clumio via an email invitation and the invitation is pending acceptance from the user. Iffalse
, the user has been manually suspended and cannot log in to Clumio until another Clumio user reactivates the account. - last_activity_timestamp string
The timestamp of when the user was last active in the Clumio system. Represented in RFC-3339 format.
- organizational_unit_count int64
The number of organizational units accessible to the user.
{
"_embedded": {
"read-role": [
{
"description": "string",
"id": "string",
"name": "string",
"permissions": [
{
"description": "string",
"id": "string",
"name": "string"
}
],
"user_count": 0
}
]
},
"_etag": "string",
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"delete-user": {
"href": "string",
"templated": true,
"type": "string"
},
"update-user": {
"href": "string",
"templated": true,
"type": "string"
}
},
"access_control_configuration": [
{
"organizational_unit_ids": [
"string"
],
"role_id": "string"
}
],
"email": "string",
"full_name": "string",
"id": "string",
"inviter": "string",
"is_confirmed": true,
"is_enabled": true,
"last_activity_timestamp": "string",
"organizational_unit_count": 0
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
POST /users
Authorization
Request
Request
curl -L -X POST 'https://us-west-2.api.clumio.com/users' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.users=v2+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"access_control_configuration": [
{
"organizational_unit_ids": [
"string"
],
"role_id": "string"
}
],
"email": "string",
"full_name": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/users' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.users=v2+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"access_control_configuration": [
{
"organizational_unit_ids": [
"string"
],
"role_id": "string"
}
],
"email": "string",
"full_name": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/users' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.users=v2+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"access_control_configuration": [
{
"organizational_unit_ids": [
"string"
],
"role_id": "string"
}
],
"email": "string",
"full_name": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/users' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.users=v2+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"access_control_configuration": [
{
"organizational_unit_ids": [
"string"
],
"role_id": "string"
}
],
"email": "string",
"full_name": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/users' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.users=v2+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"access_control_configuration": [
{
"organizational_unit_ids": [
"string"
],
"role_id": "string"
}
],
"email": "string",
"full_name": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/users' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.users=v2+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"access_control_configuration": [
{
"organizational_unit_ids": [
"string"
],
"role_id": "string"
}
],
"email": "string",
"full_name": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/users' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.users=v2+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"access_control_configuration": [
{
"organizational_unit_ids": [
"string"
],
"role_id": "string"
}
],
"email": "string",
"full_name": "string"
}'