Skip to main content

Update an existing role

PATCH 

/roles/:id

Update an existing role

Request

Path Parameters

    id uuidrequired

    ID of the object to retrieve, update, or delete

Body

required
    role object
    type string

    Possible values: [NeprofileRole, NeaccessRole]

    The type of role

    name string

    The name of the user role

    archived boolean

    Set to true to archive, false to unarchive

    groups string[]

    Role groups

Responses

Expected response to a valid request

Schema
    role object
    id uuid
    uid string

    Possible values: >= 32 characters and <= 32 characters

    name string
    groups string[]
Loading...