Overview
Version information
Version : 1.0.0
URI scheme
Host : cloudentity.dev.cloudentity.com
BasePath : /api
Schemes : HTTPS
Consumes
-
application/json
Produces
-
application/json
Paths
POST /entitlementgroups
Description
Create an entitlement group
The ADMIN_CREATE_ENTITLEMENT_GROUP entitlement is required.
Upon successful creation, the entitlement group is automatically granted to the calling user.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
Group object |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The group is created |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
409 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
GET /entitlementgroups
Description
Get list of all entitlement groups
The ADMIN_LIST_ENTITLEMENT_GROUPS entitlement is required.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The current list of entitlement groups is returned. The list is the same for any user who calls this API. |
|
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
GET /entitlementgroups/{entitlementGroup}
Description
Get entitlement group object identified by {group}
The ADMIN_GET_ENTITLEMENT_GROUP entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Group object is returned |
|
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
PUT /entitlementgroups/{entitlementGroup}
Description
Update entitlement group object identified by {group}
The ADMIN_UPDATE_ENTITLEMENT_GROUP entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Body |
groupUpdates |
Group updates |
updates
Name | Schema |
---|---|
description |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The group is updated |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
DELETE /entitlementgroups/{entitlementGroup}
Description
Delete the entitlement group object identified by {group}
The ADMIN_DELETE_ENTITLEMENT_GROUP entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The group is deleted; it does not however remove the entitlements inside it. |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /entitlementgroups/{entitlementGroup}/entitlements
Description
Adds the given entitlement to the given group.
Note: One entitlement can be a member of multiple groups.
If the allowCoreEntitlements
attribute of the group is false
but the specified
entitlement is a core entitlement, an Entitlement.CoreNotAllowed
error will be returned.
The ADMIN_ADD_ENTITLEMENT_TO_GROUP entitlement is required. If the current user doesn’t own ADMIN_ADD_ENTITLEMENT_TO_GROUP, then an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Body |
entitlement |
Name of entitlement |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Entitlement added to the group |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
|
422 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
GET /entitlementgroups/{entitlementGroup}/entitlements
Description
Get list of all entitlements inside the given group
The ADMIN_LIST_ENTITLEMENTS_IN_GROUP entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
List of entitlements belonging to the given group |
|
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
DELETE /entitlementgroups/{entitlementGroup}/entitlements/{entitlement}
Description
Removes given entitlement from the given group
The ADMIN_DELETE_ENTITLEMENT_FROM_GROUP entitlement is required.
The ADMIN_REVOKE_ANY_ENTITLEMENT entitlement is required to remove entitlements unowned by the current user.
If the current user owns neither the target entitlement nor the ADMIN_REVOKE_ANY_ENTITLEMENT entitlement, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlement |
Name of entitlement |
string |
Path |
entitlementGroup |
Name of entitlement group |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Entitlement removed from the group |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /entitlementgroups/{entitlementGroup}/multipleentitlements
Description
Adds all of the given entitlements to the given group.
Note: One entitlement can be a member of multiple groups.
If the allowCoreEntitlements
attribute of the group is false
but any the specified
entitlements is a core entitlement, an Entitlement.CoreNotAllowed
error will be returned.
The ADMIN_ADD_ENTITLEMENT_TO_GROUP entitlement is required. If the current user doesn’t own ADMIN_ADD_ENTITLEMENT_TO_GROUP, then an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
All requested entitlements added to the group |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
|
422 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /entitlements
Description
Create an entitlement
The ADMIN_CREATE_ENTITLEMENT entitlement is required.
Upon successful creation, the entitlement is automatically granted to the calling user.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
Entitlement object |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The entitlement is created |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
409 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
GET /entitlements
Description
Get list of all entitlements
The ADMIN_LIST_ENTITLEMENTS entitlement is required.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The requested list of entitlements is returned |
|
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
GET /entitlements/{entitlement}
Description
Get entitlement object identified by {entitlement}
The ADMIN_GET_ENTITLEMENT entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlement |
Name of entitlement |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The entitlement object is returned |
|
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
PUT /entitlements/{entitlement}
Description
Update entitlement object identified by {entitlement}
The ADMIN_UPDATE_ENTITLEMENT entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlement |
Name of entitlement |
string |
Body |
body |
Entitlement updates |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The entitlement is updated |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
DELETE /entitlements/{entitlement}
Description
Delete the entitlement object identified by {entitlement}
The ADMIN_DELETE_ENTITLEMENT entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlement |
Name of entitlement |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The entitlement is deleted |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /policy/entitilementandcustomer/validate
Description
Validates if:
- the user identified by the provided token
parameter has the provided entitlements.
- the provided customer
matches the customer from the session
Parameters
Type | Name | Schema |
---|---|---|
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success. The user has all of the requested entitlements and customer matches. |
|
400 |
Response details:
|
|
403 |
Not authorized. The user does not have one or more requested entitlements.
* Code: Message
* Schema details. "details":{ "allowed":[ { "name":"string" } ], "denied":[ { "name":"string", "reason":{ "requiredAuthLevel":"integer", "notAssigned":"boolean" } } ] }
Schema details. No details - only code and message. |
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /policy/entitlement/validate
Description
Validates if a user identified by the provided {token} parameter has the provided entitlements.
Parameters
Type | Name | Schema |
---|---|---|
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success. The user has all of the requested entitlements. |
|
400 |
Response details:
|
|
403 |
Not authorized. The user does not have one or more requested entitlements.
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /sla/entitlementgroups
Description
Create an entitlement group
The ADMIN_CREATE_ENTITLEMENT_GROUP entitlement is required.
Upon successful creation, the entitlement group is automatically granted to the calling user.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
Group object |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The group is created |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
409 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
GET /sla/entitlementgroups
Description
Get list of all entitlement groups
The ADMIN_LIST_ENTITLEMENT_GROUPS entitlement is required.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The current list of entitlement groups is returned. The list is the same for any user who calls this API. |
|
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
GET /sla/entitlementgroups/{entitlementGroup}
Description
Get entitlement group object identified by {group}
The ADMIN_GET_ENTITLEMENT_GROUP entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Group object is returned |
|
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
PUT /sla/entitlementgroups/{entitlementGroup}
Description
Update entitlement group object identified by {group}
The ADMIN_UPDATE_ENTITLEMENT_GROUP entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Body |
groupUpdates |
Group updates |
updates
Name | Schema |
---|---|
description |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The group is updated |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
DELETE /sla/entitlementgroups/{entitlementGroup}
Description
Delete the entitlement group object identified by {group}
The ADMIN_DELETE_ENTITLEMENT_GROUP entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The group is deleted; it does not however remove the entitlements inside it. |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /sla/entitlementgroups/{entitlementGroup}/entitlements
Description
Adds the given entitlement to the given group.
Note: One entitlement can be a member of multiple groups.
If the allowCoreEntitlements
attribute of the group is false
but the specified
entitlement is a core entitlement, an Entitlement.CoreNotAllowed
error will be returned.
The ADMIN_ADD_ENTITLEMENT_TO_GROUP entitlement is required. If the current user doesn’t own ADMIN_ADD_ENTITLEMENT_TO_GROUP, then an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Body |
entitlement |
Name of entitlement |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Entitlement added to the group |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
|
422 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
GET /sla/entitlementgroups/{entitlementGroup}/entitlements
Description
Get list of all entitlements inside the given group
The ADMIN_LIST_ENTITLEMENTS_IN_GROUP entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
List of entitlements belonging to the given group |
|
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
DELETE /sla/entitlementgroups/{entitlementGroup}/entitlements/{entitlementName}
Description
Removes given entitlement from the given group
The ADMIN_DELETE_ENTITLEMENT_FROM_GROUP entitlement is required.
The ADMIN_REVOKE_ANY_ENTITLEMENT entitlement is required to remove entitlements unowned by the current user.
If the current user owns neither the target entitlement nor the ADMIN_REVOKE_ANY_ENTITLEMENT entitlement, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlement |
Name of entitlement |
string |
Path |
entitlementGroup |
Name of entitlement group |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Entitlement removed from the group |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /sla/entitlementgroups/{entitlementGroup}/multipleentitlements
Description
Adds all of the given entitlements to the given group.
Note: One entitlement can be a member of multiple groups.
If the allowCoreEntitlements
attribute of the group is false
but any the specified
entitlements is a core entitlement, an Entitlement.CoreNotAllowed
error will be returned.
The ADMIN_ADD_ENTITLEMENT_TO_GROUP entitlement is required. If the current user doesn’t own ADMIN_ADD_ENTITLEMENT_TO_GROUP, then an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
All requested entitlements added to the group |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
|
422 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /sla/entitlements
Description
Create an entitlement
The ADMIN_CREATE_ENTITLEMENT entitlement is required.
Upon successful creation, the entitlement is automatically granted to the calling user.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
Entitlement object |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The entitlement is created |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
409 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
GET /sla/entitlements
Description
Get list of all entitlements
The ADMIN_LIST_ENTITLEMENTS entitlement is required.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The requested list of entitlements is returned |
|
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
GET /sla/entitlements/{entitlementName}
Description
Get entitlement object identified by {entitlement}
The ADMIN_GET_ENTITLEMENT entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlement |
Name of entitlement |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The entitlement object is returned |
|
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
PUT /sla/entitlements/{entitlementName}
Description
Update entitlement object identified by {entitlement}
The ADMIN_UPDATE_ENTITLEMENT entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlement |
Name of entitlement |
string |
Body |
body |
Entitlement updates |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The entitlement is updated |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
DELETE /sla/entitlements/{entitlementName}
Description
Delete the entitlement object identified by {entitlement}
The ADMIN_DELETE_ENTITLEMENT entitlement is required.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlement |
Name of entitlement |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The entitlement is deleted |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /sla/policy/entitilementandcustomer/validate
Description
Validates if:
- the user identified by the provided token
parameter has the provided entitlements.
- the provided customer
matches the customer from the session
Parameters
Type | Name | Schema |
---|---|---|
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success. The user has all of the requested entitlements and customer matches. |
|
400 |
Response details:
|
|
403 |
Not authorized. The user does not have one or more requested entitlements.
* Code: Message
* Schema details. "details":{ "allowed":[ { "name":"string" } ], "denied":[ { "name":"string", "reason":{ "requiredAuthLevel":"integer", "notAssigned":"boolean" } } ] }
Schema details. No details - only code and message. |
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /sla/policy/entitlement/validate
Description
Validates if a user identified by the provided {token} parameter has the provided entitlements.
Parameters
Type | Name | Schema |
---|---|---|
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success. The user has all of the requested entitlements. |
|
400 |
Response details:
|
|
403 |
Not authorized. The user does not have one or more requested entitlements.
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /sla/user/{identifier}/entitlementgroups
Description
Grant an entitlement group to a user identified by {identifier}
The ADMIN_GRANT_ENTITLEMENT_GROUP entitlement is required.
The ADMIN_GRANT_ANY_ENTITLEMENT_GROUP entitlement is required to grant entitlement groups unowned by the current user.
If the current user owns neither the target group nor the ADMIN_GRANT_ANY_ENTITLEMENT_GROUP entitlement, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
identifier |
Unique identifier of a user. UUID is used by default. However, if the identifier is prefixed by a valid identifier attribute
with a trailing Examples:
* You are recommended to use UUID whenever possible. |
string |
Body |
group |
Name of group |
group
Name | Schema |
---|---|
group |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The entitlement group has been granted to the user |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
DELETE /sla/user/{identifier}/entitlementgroups/{entitlementGroup}
Description
Revoke an entitlement group from a user identified by {identifier}
The ADMIN_REVOKE_ENTITLEMENT_GROUP entitlement is required.
The ADMIN_REVOKE_ANY_ENTITLEMENT_GROUP entitlement is required to revoke entitlement groups unowned by the current user.
If the current user owns neither the target group nor the ADMIN_REVOKE_ANY_ENTITLEMENT_GROUP entitlement, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Path |
identifier |
Unique identifier of a user. UUID is used by default. However, if the identifier is prefixed by a valid identifier attribute
with a trailing Examples:
* You are recommended to use UUID whenever possible. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The entitlement group has been revoked from the user |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /sla/user/{identifier}/entitlements
Description
Grant an entitlement to a user identified by {identifier}
The ADMIN_GRANT_ENTITLEMENT entitlement is required.
The ADMIN_GRANT_ANY_ENTITLEMENT entitlement is required to grant entitlements unowned by the current user.
If the current user owns neither the target entitlement nor the ADMIN_GRANT_ANY_ENTITLEMENT entitlement, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
identifier |
Unique identifier of a user. UUID is used by default. However, if the identifier is prefixed by a valid identifier attribute
with a trailing Examples:
* You are recommended to use UUID whenever possible. |
string |
Body |
entitlement |
Name of entitlement |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The entitlement has been granted to the user |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
DELETE /sla/user/{identifier}/entitlements/{entitlementName}
Description
Revoke an entitlement from a user identified by {identifier}
The ADMIN_REVOKE_ENTITLEMENT entitlement is required.
The ADMIN_REVOKE_ANY_ENTITLEMENT entitlement is required to revoke entitlements unowned by the current user.
If the current user owns neither the target entitlement nor the ADMIN_REVOKE_ANY_ENTITLEMENT entitlement, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlement |
Name of entitlement |
string |
Path |
identifier |
Unique identifier of a user. UUID is used by default. However, if the identifier is prefixed by a valid identifier attribute
with a trailing Examples:
* You are recommended to use UUID whenever possible. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The entitlement has been revoked from the user |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /sla/user/{identifier}/multipleentitlements
Description
Grants many entitlements to a user identified by {identifier}
The ADMIN_GRANT_ENTITLEMENT entitlement is required.
The ADMIN_GRANT_ANY_ENTITLEMENT entitlement is required to grant entitlements unowned by the current user.
If any of the target entitlements is unowned by the current user, and the ADMIN_GRANT_ANY_ENTITLEMENT entitlement is unowned by the current user, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
identifier |
Unique identifier of a user. UUID is used by default. However, if the identifier is prefixed by a valid identifier attribute
with a trailing Examples:
* You are recommended to use UUID whenever possible. |
string |
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The entitlements have been granted to the user |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /user/{identifier}/entitlementgroups
Description
Grant an entitlement group to a user identified by {identifier}
The ADMIN_GRANT_ENTITLEMENT_GROUP entitlement is required.
The ADMIN_GRANT_ANY_ENTITLEMENT_GROUP entitlement is required to grant entitlement groups unowned by the current user.
If the current user owns neither the target group nor the ADMIN_GRANT_ANY_ENTITLEMENT_GROUP entitlement, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
identifier |
Unique identifier of a user. UUID is used by default. However, if the identifier is prefixed by a valid identifier attribute
with a trailing Examples:
* You are recommended to use UUID whenever possible. |
string |
Body |
group |
Name of group |
group
Name | Schema |
---|---|
group |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The entitlement group has been granted to the user |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
DELETE /user/{identifier}/entitlementgroups/{entitlementGroup}
Description
Revoke an entitlement group from a user identified by {identifier}
The ADMIN_REVOKE_ENTITLEMENT_GROUP entitlement is required.
The ADMIN_REVOKE_ANY_ENTITLEMENT_GROUP entitlement is required to revoke entitlement groups unowned by the current user.
If the current user owns neither the target group nor the ADMIN_REVOKE_ANY_ENTITLEMENT_GROUP entitlement, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlementGroup |
Name of entitlement group |
string |
Path |
identifier |
Unique identifier of a user. UUID is used by default. However, if the identifier is prefixed by a valid identifier attribute
with a trailing Examples:
* You are recommended to use UUID whenever possible. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The entitlement group has been revoked from the user |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /user/{identifier}/entitlements
Description
Grant an entitlement to a user identified by {identifier}
The ADMIN_GRANT_ENTITLEMENT entitlement is required.
The ADMIN_GRANT_ANY_ENTITLEMENT entitlement is required to grant entitlements unowned by the current user.
If the current user owns neither the target entitlement nor the ADMIN_GRANT_ANY_ENTITLEMENT entitlement, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
identifier |
Unique identifier of a user. UUID is used by default. However, if the identifier is prefixed by a valid identifier attribute
with a trailing Examples:
* You are recommended to use UUID whenever possible. |
string |
Body |
entitlement |
Name of entitlement |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The entitlement has been granted to the user |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
DELETE /user/{identifier}/entitlements/{entitlement}
Description
Revoke an entitlement from a user identified by {identifier}
The ADMIN_REVOKE_ENTITLEMENT entitlement is required.
The ADMIN_REVOKE_ANY_ENTITLEMENT entitlement is required to revoke entitlements unowned by the current user.
If the current user owns neither the target entitlement nor the ADMIN_REVOKE_ANY_ENTITLEMENT entitlement, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
entitlement |
Name of entitlement |
string |
Path |
identifier |
Unique identifier of a user. UUID is used by default. However, if the identifier is prefixed by a valid identifier attribute
with a trailing Examples:
* You are recommended to use UUID whenever possible. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The entitlement has been revoked from the user |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
POST /user/{identifier}/multipleentitlements
Description
Grants many entitlements to a user identified by {identifier}
The ADMIN_GRANT_ENTITLEMENT entitlement is required.
The ADMIN_GRANT_ANY_ENTITLEMENT entitlement is required to grant entitlements unowned by the current user.
If any of the target entitlements is unowned by the current user, and the ADMIN_GRANT_ANY_ENTITLEMENT entitlement is unowned by the current user, an Authorization.Unauthorized error will be returned.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
identifier |
Unique identifier of a user. UUID is used by default. However, if the identifier is prefixed by a valid identifier attribute
with a trailing Examples:
* You are recommended to use UUID whenever possible. |
string |
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The entitlements have been granted to the user |
No Content |
400 |
Response details:
|
|
401 |
Response details:
|
|
403 |
Response details:
|
|
404 |
Response details:
|
Tags
-
entitlement
Security
Type | Name |
---|---|
oauth2 |
|
oauth2 |
|
oauth2 |
|
apiKey |
Definitions
AliveStatus
Name | Description | Schema |
---|---|---|
message |
Description of service status if available |
string |
Entitlement
Name | Schema |
---|---|
authLevel |
integer (int32) |
description |
string |
name |
string |
EntitlementAndCustomerBody
Name | Schema |
---|---|
customer |
string |
entitlements |
< string > array |
EntitlementNameObject
Name of entitlement
Name | Schema |
---|---|
entitlement |
string |
EntitlementNamesObject
List of entitlement names
Name | Schema |
---|---|
entitlements |
< string > array |
EntitlementUpdatesObject
Entitlement properties to be updated
Name | Schema |
---|---|
authLevel |
integer (int32) |
description |
string |
EntitlementsList
Name | Schema |
---|---|
entitlements |
< entitlements > array |
entitlements
Name | Schema |
---|---|
authLevel |
integer (int32) |
description |
string |
name |
string |
EntitlementsValidationError
Name | Schema |
---|---|
code |
string |
details |
|
message |
string |
details
Name | Schema |
---|---|
allowed |
< allowed > array |
denied |
< denied > array |
allowed
Name | Schema |
---|---|
name |
string |
denied
Name | Schema |
---|---|
name |
string |
reason |
reason
Name | Schema |
---|---|
notAssigned |
boolean |
requiredAuthLevel |
integer |
EntitlementsValidationSuccess
Name | Schema |
---|---|
allowed |
< allowed > array |
allowed
Name | Schema |
---|---|
name |
string |
Error
Name | Description | Schema |
---|---|---|
code |
Unique internal error code |
string |
details |
Optional. Varies depending on the specific use case - details are determined by the particular API call. |
object |
message |
Description of the error code |
string |
Group
Name | Description | Schema |
---|---|---|
allowCoreEntitlements |
Whether core entitlements may be added to this group. Default |
boolean |
description |
string |
|
name |
string |
GroupsList
List of groups
Name | Schema |
---|---|
groups |
< groups > array |
groups
Name | Description | Schema |
---|---|---|
allowCoreEntitlements |
Whether core entitlements may be added to this group. Default |
boolean |
description |
string |
|
name |
string |
RetrievedCustomerObject
Name | Description | Schema |
---|---|---|
activationDate |
Date customer was activated |
string |
adminEmails |
Administrator Emails |
< string > array |
allowPublicRegistration |
Allow public registration for organisation |
string |
cid |
Customer ID |
string |
customerAlias |
Alias of Customer |
string |
customerDomains |
Customer Domains |
< string > array |
customerName |
Name of Customer |
string |
entitlements |
Customer Entitlements |
< string > array |
eulaAutomaticApproval |
EULA (End User License Agreement) automatic approval. When user is created, their eulaApproval is set to true |
string |
eulaRevision |
EULA (End User License Agreement) Revision |
string |
mfaMethod |
Multi-Factor Authentication method. If not set, no multi-factor authentication is used. |
enum (NONE, OTP, KBA, GOOGLE_AUTHENTICATION) |
recordCreated |
Timestamp when record was created |
string |
recordCreator |
Name of person that created the record |
string |
recordUpdated |
Timestamp when record was last updated |
string |
recordUpdater |
Name of person that last updated the record |
string |
status |
Customer activation status |
string |
uuid |
Globally unique identifier |
string |
Security
oauth2_implicit
Type : oauth2
Flow : implicit
Token URL : https://cloudentity.dev.cloudentity.com/oauth/authorize
oauth2_authorizationCode
Type : oauth2
Flow : accessCode
Token URL : https://cloudentity.dev.cloudentity.com/oauth/authorize
Token URL : https://cloudentity.dev.cloudentity.com/oauth/token
oauth2_password
Type : oauth2
Flow : password
Token URL : https://cloudentity.dev.cloudentity.com/oauth/token
SsoToken
Type : apiKey
Name : token
In : HEADER