Users
Prefix the value with "ApiKey" to indicate the custom authorization type
Fetch user with a given name or email address using SCIM operators
Examples:
emails.value eq "test@email.com"
name.givenName eq "James" and name.familyName eq "Bond"
The 1-based start index of the first user to be returned
The number of users to be returned. A maximum of 50 users will be returned in a page.
Comma-separated SCIM defined attributes to be returned. Required attributes are always returned
Comma-separated SCIM defined attributes to be excluded. Required attributes cannot be excluded
List of users
The total number of users available
102The number of users in the returned page
1The 1-based index of the first user in the returned page
1The schemas defining the attributes of the user resources list.
["urn:ietf:params:scim:api:messages:2.0:ListResponse"]Bad Request
Forbidden
Not Found
GET /scim/v2/Users HTTP/1.1
Host: apipub.firstbasehq.com
Authorization: YOUR_API_KEY
Accept: */*
{
"totalResults": 102,
"itemsPerPage": 1,
"startIndex": 1,
"Resources": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"addresses": [
{
"country": "US",
"locality": "New York City",
"postalCode": "10123",
"region": "NY",
"streetAddress": "123 Sesame Street\nSuite 103",
"primary": true
}
],
"userName": "jenny.smith@example.com",
"emails": [
{
"value": "jenny.smith@example.com",
"primary": true
}
],
"name": {
"familyName": "Smith",
"givenName": "Jenny"
},
"phoneNumbers": [
{
"value": "1+555-867-5309",
"primary": true
}
],
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User": {
"packageId": "d1b0fd87-5fc9-410c-b641-0b7146896ccd",
"startDate": "2022-02-01",
"status": "ACTIVE",
"skipUserActivation": false
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User"
]
}
],
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
]
}Prefix the value with "ApiKey" to indicate the custom authorization type
Unique id of the user
Comma-separated SCIM defined attributes to be returned. Required attributes are always returned
Comma-separated SCIM defined attributes to be excluded. Required attributes cannot be excluded
User has been found
The userName must match the primary email address.
jenny.smith@example.comThe schemas defining the attributes of the resources.
["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:firstbase:1.0:User"]Bad Request
Forbidden
Unable to find user
GET /scim/v2/Users/{id} HTTP/1.1
Host: apipub.firstbasehq.com
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"addresses": [
{
"country": "US",
"locality": "New York City",
"postalCode": "10123",
"region": "NY",
"streetAddress": "123 Sesame Street\nSuite 103",
"primary": true
}
],
"userName": "jenny.smith@example.com",
"emails": [
{
"value": "jenny.smith@example.com",
"primary": true
}
],
"name": {
"familyName": "Smith",
"givenName": "Jenny"
},
"phoneNumbers": [
{
"value": "1+555-867-5309",
"primary": true
}
],
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User": {
"packageId": "d1b0fd87-5fc9-410c-b641-0b7146896ccd",
"startDate": "2022-02-01",
"status": "ACTIVE",
"skipUserActivation": false
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User"
]
}Prefix the value with "ApiKey" to indicate the custom authorization type
Comma-separated SCIM defined attributes to be returned. Required attributes are always returned
Comma-separated SCIM defined attributes to be excluded. Required attributes cannot be excluded
The userName must match the primary email address.
jenny.smith@example.comThe schemas defining the attributes of the resources.
["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:firstbase:1.0:User"]User has been created
The userName must match the primary email address.
jenny.smith@example.comThe schemas defining the attributes of the resources.
["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:firstbase:1.0:User"]Bad Request
Forbidden
Unable to find organization or package
Unable to create user due to conflict
POST /scim/v2/Users HTTP/1.1
Host: apipub.firstbasehq.com
Authorization: YOUR_API_KEY
Content-Type: application/scim+json
Accept: */*
Content-Length: 664
{
"addresses": [
{
"country": "US",
"locality": "New York City",
"postalCode": "10123",
"region": "NY",
"streetAddress": "123 Sesame Street\nSuite 103",
"primary": true
}
],
"userName": "jenny.smith@example.com",
"emails": [
{
"value": "jenny.smith@example.com",
"primary": true
}
],
"name": {
"familyName": "Smith",
"givenName": "Jenny"
},
"phoneNumbers": [
{
"value": "1+555-867-5309",
"primary": true
}
],
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User": {
"packageId": "d1b0fd87-5fc9-410c-b641-0b7146896ccd",
"startDate": "2022-02-01",
"status": "ACTIVE",
"skipUserActivation": false
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"addresses": [
{
"country": "US",
"locality": "New York City",
"postalCode": "10123",
"region": "NY",
"streetAddress": "123 Sesame Street\nSuite 103",
"primary": true
}
],
"userName": "jenny.smith@example.com",
"emails": [
{
"value": "jenny.smith@example.com",
"primary": true
}
],
"name": {
"familyName": "Smith",
"givenName": "Jenny"
},
"phoneNumbers": [
{
"value": "1+555-867-5309",
"primary": true
}
],
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User": {
"packageId": "d1b0fd87-5fc9-410c-b641-0b7146896ccd",
"startDate": "2022-02-01",
"status": "ACTIVE",
"skipUserActivation": false
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User"
]
}Prefix the value with "ApiKey" to indicate the custom authorization type
Comma-separated SCIM defined attributes to be returned. Required attributes are always returned
Comma-separated SCIM defined attributes to be excluded. Required attributes cannot be excluded
The userName must match the primary email address.
jenny.smith@example.comThe schemas defining the attributes of the resources.
["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:firstbase:1.0:User"]User has been updated
The userName must match the primary email address.
jenny.smith@example.comThe schemas defining the attributes of the resources.
["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:firstbase:1.0:User"]Bad Request
Forbidden
Unable to find person, organization or package
Unable to update user due to conflict
PUT /scim/v2/Users/{id} HTTP/1.1
Host: apipub.firstbasehq.com
Authorization: YOUR_API_KEY
Content-Type: application/scim+json
Accept: */*
Content-Length: 664
{
"addresses": [
{
"country": "US",
"locality": "New York City",
"postalCode": "10123",
"region": "NY",
"streetAddress": "123 Sesame Street\nSuite 103",
"primary": true
}
],
"userName": "jenny.smith@example.com",
"emails": [
{
"value": "jenny.smith@example.com",
"primary": true
}
],
"name": {
"familyName": "Smith",
"givenName": "Jenny"
},
"phoneNumbers": [
{
"value": "1+555-867-5309",
"primary": true
}
],
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User": {
"packageId": "d1b0fd87-5fc9-410c-b641-0b7146896ccd",
"startDate": "2022-02-01",
"status": "ACTIVE",
"skipUserActivation": false
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"addresses": [
{
"country": "US",
"locality": "New York City",
"postalCode": "10123",
"region": "NY",
"streetAddress": "123 Sesame Street\nSuite 103",
"primary": true
}
],
"userName": "jenny.smith@example.com",
"emails": [
{
"value": "jenny.smith@example.com",
"primary": true
}
],
"name": {
"familyName": "Smith",
"givenName": "Jenny"
},
"phoneNumbers": [
{
"value": "1+555-867-5309",
"primary": true
}
],
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User": {
"packageId": "d1b0fd87-5fc9-410c-b641-0b7146896ccd",
"startDate": "2022-02-01",
"status": "ACTIVE",
"skipUserActivation": false
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:firstbase:1.0:User"
]
}Deleting a User will start the Offboarding process for the user. This is a SOFT delete, in which the user will still have access to the Firstbase platform until offboarding has completed
Prefix the value with "ApiKey" to indicate the custom authorization type
Unique id of the user
User has been deleted and offboarding has started
Bad Request
Forbidden
Unable to find user
DELETE /scim/v2/Users/{id} HTTP/1.1
Host: apipub.firstbasehq.com
Authorization: YOUR_API_KEY
Accept: */*
Last updated