Skip to content
OpenFish Documentation
Search
K
Main Navigation
Project Overview
User Guide
Developer Documentation
AusOcean
Appearance
Menu
Return to top
Update role
PATCH
/api/v1/users/{id}
Roles required:
Admin
Update a user's role.
Parameters
Path Parameters
id
*
ID
Type
string
Required
Example
1234567890
Request Body
Schema
JSON
JSON
{
"display_name"
:
"Coral Fischer"
,
"email"
:
"coral.fischer@example.com"
,
"role"
:
"string"
}
Responses
200
400
OK
PATCH
/api/v1/users/{id}
Samples