Skip to main content
POST
/
api
/
public
/
v1
/
role
Create a role
curl --request POST \
  --url https://live1-service-7042312-f94c764b.us.monday.app/api/public/v1/role \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "accountId": "<string>",
  "name": "<string>",
  "_id": "<string>",
  "createDate": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Display name for the role, e.g. 'Frontend Developer'.

Response

Successful Response

accountId
string
required

Account this role belongs to.

name
string
required

Display name of the role.

_id
string

Unique identifier of the role.

createDate
string<date-time>

UTC timestamp when the role was created.