Skip to main content
POST
/
api
/
authentication-manager
/
user
/
{id}
/
permission
/
batch
addUserPermissionBatch
curl --request POST \
  --url https://api.artemis.cynopsis.co/api/authentication-manager/user/{id}/permission/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Domain-ID: <x-domain-id>' \
  --data '[
  "<string>"
]'
[
  {
    "createdAt": {
      "date": 123,
      "day": 123,
      "hours": 123,
      "minutes": 123,
      "month": 123,
      "nanos": 123,
      "seconds": 123,
      "time": 123,
      "timezoneOffset": 123,
      "year": 123
    },
    "createdBy": {
      "email": "<string>",
      "firstName": "<string>",
      "fullName": "<string>",
      "id": 123,
      "lastName": "<string>"
    },
    "domainId": "<string>",
    "id": 123,
    "updatedAt": {
      "date": 123,
      "day": 123,
      "hours": 123,
      "minutes": 123,
      "month": 123,
      "nanos": 123,
      "seconds": 123,
      "time": 123,
      "timezoneOffset": 123,
      "year": 123
    },
    "updatedBy": {
      "email": "<string>",
      "firstName": "<string>",
      "fullName": "<string>",
      "id": 123,
      "lastName": "<string>"
    },
    "userId": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.cynopsis.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Domain-ID
integer<int64>
required

X-Domain-ID

Path Parameters

id
integer<int64>
required

id

Body

application/json

permission

Response

OK

createdAt
Timestamp · object
createdBy
UserInfo · object
domainId
string
id
integer<int64>
permission
enum<string>
Available options:
ADMIN,
ANONYMOUS,
CASE_APPROVE,
CASE_APPROVE_ACCEPTED,
CASE_APPROVE_ACCEPTED_HIGH_RISK,
CASE_APPROVE_ACCEPTED_LOW_RISK,
CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK,
CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK,
CASE_APPROVE_ACCEPTED_MEDIUM_RISK,
CASE_APPROVE_REJECTED,
CASE_ASSIGN,
CASE_CREATE,
CASE_DELETE,
CASE_DELETE_COMMENT,
CASE_DELETE_DOCUMENT,
CASE_GROUP_PERMISSIVE,
CASE_PERMISSIVE,
CASE_REQUEST_UPDATE,
CASE_UPDATE,
CASE_VIEW,
ORL_CREATE,
ORL_DELETE,
ORL_UPDATE,
ORL_VIEW,
SERVICE,
USER_CREATE,
USER_DELETE,
USER_GROUP_CREATE,
USER_GROUP_DELETE,
USER_GROUP_UPDATE,
USER_GROUP_VIEW,
USER_REACTIVATE,
USER_UPDATE_PERMISSION,
USER_VIEW
updatedAt
Timestamp · object
updatedBy
UserInfo · object
userId
string