Skip to main content

Grant User Security Role Project

POST 

/api

Give a user access to a project or all open projects for a security role.

Request

Header Parameters

    Ftrack-Api-Options any
            Api options formatted as key value pairs separated by semicolon. 
    Suported values are:
    - denormalize
    - strict

    denormalize - data is not normalised before sent to client which means there is no need to merge entities client side.
    Must also have strict option enabled.
    strict - only requested data is loaded and returned to the client

    Examples:

    denormalize=1;strict=1
    denormalize=False;strict=True
    denormalize=false;strict=false


    Ftrack-Api-Key any
            API key used to authenticate. API keys are created from Settings under the page API keys.

    Ftrack-User any
            Username used to authenticate.

Body

array

required

  • Array [

  • role_id

    object

    nullable

    anyOf

    string

    user_id

    object

    nullable

    anyOf

    string

    project_id

    object

    nullable

    anyOf

    string

    all_open_projects

    object

    nullable

    anyOf

    boolean

    new_role_id

    object

    nullable

    anyOf

    string

    action Actionrequired

    Possible values: [grant_user_security_role_project]

    metadata

    object

    property name* any
  • ]

Responses

Successful Response

Loading...