Skip to main content
PUT
/
api
/
roles
/
{id}
Update a role
import requests

url = "https://{FUSION HOST}/api/roles/{id}"

payload = { "name": "<string>" }
headers = {"Content-Type": "application/json"}

response = requests.put(url, json=payload, headers=headers)

print(response.json())

Body

application/json
name
string
required
id
string
createdAt
string<date-time>
updatedAt
string<date-time>
desc
string
permissions
object[]
uiPermissions
string[]

Response

404

Role ID not found.