younifyd
Menu

Admin Access Get Member

Get a member by id

GET/admin/access/{resource}/{resourceId}/members/{sid}

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Admin Access Get Member action (under Administration).
  3. Fill in the fields below, then reference the result from later steps as {{adminAccessGetMember.response.data}}.

Request

Path parameters

resourcestringrequired

Resource Type

One ofhubscontent-repositories

resourceIdstringrequired

Resource ID

sidstringrequired

Member ID

Response

Returns 200 with an object. Read it in later steps with {{adminAccessGetMember.response.data.<field>}}.

sidstring

Member id

permissionsarray<any>

List of permissions

_linksobject

Resource HAL links

selfobject1 fields

Self HAL link

revoke-permissionobject2 fields

Delete Member's Permission(s) HAL link

json
{
  "sid": "alice",
  "permissions": [
    "READ",
    "EDIT",
    "DELETE",
    "SHARE",
    "CREATE_REPOSITORY",
    "CREATE_EVENT",
    "EDIT_EVENT",
    "DELETE_EVENT",
    "CREATE_EDITION",
    "EDIT_EDITION",
    "DELETE_EDITION",
    "MANAGE_ACCESS",
    "EDIT_WORKFLOW_STATES"
  ],
  "_links": {
    "self": {
      "href": "https://api.amplience.net/v2/content/admin/access/hubs/00112233445566778899aabb/members/alice"
    },
    "revoke-permission": {
      "href": "https://api.amplience.net/v2/content/admin/access/hubs/00112233445566778899aabb/members/alice",
      "templated": true
    }
  }
}

Need more? See the Amplience guide for connection setup and behaviour shared by every action.

Was this page helpful?