cURL
curl --request PUT \ --url https://lancepilot.com/api/v3/workspaces/{workspace}/roles/{role} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{ "status": 200, "message": "Resource updated successfully.", "data": {} }
Update an existing role in the specified workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique name for the role.
255
200
"Resource updated successfully."
Updated resource data.