Skip to main content

Create a permission

POST 

/permissions

This endpoint can create permissions for Lifecycle, Consolidation, and Collaboration

Request

Body

required
    permission object
    role_id uuid

    The id of the role

    subject_id uuid

    The ID of the object that the permission is giving access to

    value int32

    Possible values: [1, 2, 3, 4, 5, 6, 7]

    The permissions level of access

    subject int32

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]

    The type of permission

Responses

Expected response to a valid request

Schema
    permission object
    id uuid

    The id of the permission

    role_id uuid

    The id of the role

    value int32

    The permissions level of access

    subject int32

    The type of permission

    subject_id uuid

    The ID of the object that the permission is giving access to

Loading...