Get All Roles
GET/users/roles
Fetches available SDP roles, such as owner, financial controller, business user, and developer.
Responses
- 200
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
roles string[]
{
"roles": [
"developer",
"financial_controller",
"business",
"owner"
]
}
{
"roles": [
"developer",
"financial_controller",
"business",
"owner"
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
extras
object
status number
message string
{
"error": "Not authorized",
"extras": {
"status": 401,
"message": "Not authorized"
}
}
{
"error": "Not authorized",
"extras": {
"status": 401,
"message": "Not authorized"
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "Forbidden"
}
{
"error": "Forbidden"
}
Loading...