Digitail API
Roles

Create a Role

1min
POST
https://developer.digitail.io/api/v1/roles
Sandbox server (uses test data)

Permissions needed: NONE Store Role for a clinic

Authentication
Bearer
Body Parameters
body
*
Description
Role Store Request Body
title
clinic_id
permissions_ids
Responses
201
successful operation
Description
Role Id
400
The request was invalid or contained data that was not allowed.
message
401
The authorization token is missing or invalid.
403
The user is not authorized to perform the requested operation.
429
The user has sent too many requests in a given amount of time ("rate limiting"). Max 200 requests per minute.