Skip to content
Navigation

Add a member to a group (team)

Adds an organization membership to the group named by the groupId path parameter, applying the group’s grants to that member. Authorization: organization administrators only — other callers get 403. Body: organizationMembershipId (required). Returns the group with status 201.

POST
https://api.cloudraker.com/authorization/groups/{groupId}/members
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • groupId
    string
    required

Request body JSON required

  • organizationMembershipId
    string
    required
    minLength: 1

Returns

201

The member was added; the group is returned.

JSON
  • id
    string
    required
  • organizationId
    string
    required
  • name
    string
    required
  • description
    string | null
    required
  • createdAt
    string
    required
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • updatedAt
    string
    required
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

403

Caller is not an org admin

Type to search…

↑↓ navigate↵ selectEsc close