role_team_assignments

GET /role_team_assignments/

Changed on

Use this endpoint to give a team permission to a resource or an organization. The needed data is the team, the role definition, and the object id. The object must be of the type specified in the role definition. The type given in the role definition and the provided object_id are used to look up the resource.

After creation, the assignment cannot be edited, but can be deleted to remove those permissions.

Request

  • Base URL
    /api/eda/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/eda/v1/role_team_assignments/
  • Auth
    • API key in cookie sessionid
    • or HTTP basic
    • or HTTP bearer
    • or API key in header X-DAB-JW-TOKEN

Query parameters

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

searchstring

A search term.

Response

countinteger
nextstring uri nullable
previousstring uri nullable
page_sizeinteger nullable
pageinteger nullable

Example response

{
  "count": 123,
  "next": "/eda/api/v1/example/?page=51&page_size=100",
  "previous": "/eda/api/v1/example/?page=49&page_size=100",
  "page_size": 100,
  "page": 50
}

Changes

    • breaking

      the response property // became nullable for the status

    • warning

      added the new eda.eventstream enum value to the ////// response property for the response status

    • info

      removed the eda.credentialtype enum value from the ////// response property for the response status

    • info

      removed the eda.extravar enum value from the ////// response property for the response status