Resources

Make a GET request to /scim/v2/ResourceTypes for machine-readable information about the resources available.

Users

GET https://trello.com/scim/v2/users/58d11883e7ea028acc5b19a4

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  "id": "58d11883e7ea028acc5b19a4",
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "meta": {
    "resourceType": "User",
    "created": "2016-07-01T16:10:26.000Z",
    "location": "https://trello.com/scim/v2/users/58d11883e7ea028acc5b19a4",
    "trelloType": "Member"
  },
  "userName": "dm74",
  "name": {
    "formatted": "David Mitchell",
    "givenName": "David",
    "familyName": "Mitchell"
  },
  "displayName": "David Mitchell",
  "profileUrl": "https://trello.com/dm74",
  "userType": "member",
  "locale": "en-GB",
  "active": true,
  "emails": [
    {
      "value": "davidmitchell@example.com",
      "primary": true
    }
  ],
  "roles": [
    {
      "value": "organization.admin",
      "display": "Administrator of one or more enterprise teams"
    },
    {
      "value": "board.admin",
      "display": "Administrator of one or more enterprise boards"
    }
  ]
}

Groups

Groups includes both Trello teams and boards. They can be distinguished by their meta.trelloType attribute.

A team's members includes boards and users; a board's members are users.

This example is of a team with one user, and two boards: GET https://trello.com/scim/v2/Groups/58d54eae8a7a0251950aec81

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  "id": "58d54eae8a7a0251950aec81",
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:Group"
  ],
  "meta": {
    "resourceType": "Group",
    "created": "2017-03-24T16:51:58.000Z",
    "location": "https://trello.com/scim/v2/groups/58d54eae8a7a0251950aec81",
    "trelloType": "Team"
  },
  "displayName": "Popcorn",
  "members": [
    {
      "$ref": "https://trello.com/scim/v2/users/58d11883e7ea028acc5b19a4",
      "value": "58d11883e7ea028acc5b19a4",
      "type": "Member",
      "displayName": "David Mitchell"
    },
    {
      "$ref": "https://trello.com/scim/v2/groups/58d54edb0cbef0923bc6546a",
      "value": "58d54edb0cbef0923bc6546a",
      "type": "Board",
      "displayName": "Salt"
    },
    {
      "$ref": "https://trello.com/scim/v2/groups/58d54ee29a0af8d02877959e",
      "value": "58d54ee29a0af8d02877959e",
      "type": "Board",
      "displayName": "Sweet"
    }
  ]
}