Create a group for your users.
Required permissions: apps:create, [appId]:create, groups:create.
{- "name": "string",
- "description": "string",
- "custom_data": { }
}{- "result": {
- "group_id": "string",
- "name": "string",
- "description": "string",
- "created_at": 0,
- "updated_at": 0,
- "custom_data": { }
}
}Retrieve a list of all groups.
Required permissions: apps:read, [appId]:read, groups:read, apps:list, [appId]:list, groups:list.
{- "result": [
- {
- "group_id": "string",
- "name": "string",
- "description": "string",
- "created_at": 0,
- "updated_at": 0,
- "custom_data": { }
}
]
}Retrieve a group by ID.
Required permissions: apps:read, [appId]:read, groups:read.
{- "result": {
- "group_id": "string",
- "name": "string",
- "description": "string",
- "created_at": 0,
- "updated_at": 0,
- "custom_data": { }
}
}Update a group for your users. Note: Fields that are objects cannot be partially updated, since the new value you set will just replace the current one.
Required permissions: apps:edit, [appId]:edit, groups:edit.
{- "name": "string",
- "description": "string",
- "custom_data": { }
}{- "result": {
- "group_id": "string",
- "name": "string",
- "description": "string",
- "created_at": 0,
- "updated_at": 0,
- "custom_data": { }
}
}Delete a group.
Required permissions: apps:delete, [appId]:delete, groups:delete.
Group removed.
{- "message": "Bad request",
- "error_code": 400
}Add one or more users as members of a group.
Required permissions: apps:edit, [appId]:edit, groups:edit.
Assigned users to group.
{- "user_ids": [
- "string"
]
}{- "message": "Bad request",
- "error_code": 400
}Retrieve all users that are members of a specific group.
Required permissions: apps:read, [appId]:read, users:read.
{- "result": [
- {
- "email": {
- "value": "string",
- "email_verified": true,
- "verified_at": "2019-08-24T14:15:22Z"
}, - "secondary_emails": [
- {
- "value": "string",
- "email_verified": true,
- "verified_at": "2019-08-24T14:15:22Z"
}
], - "phone_number": {
- "value": "string",
- "phone_number_verified": true,
- "verified_at": "2019-08-24T14:15:22Z"
}, - "secondary_phone_numbers": [
- {
- "value": "string",
- "phone_number_verified": true,
- "verified_at": "2019-08-24T14:15:22Z"
}
], - "username": "string",
- "user_id": "string",
- "birthday": "2019-08-24T14:15:22Z",
- "address": {
- "country": "string",
- "state": "string",
- "city": "string",
- "street_address": "string",
- "postal_code": "string",
- "type": "Home",
- "updated_at": 0
}, - "name": {
- "title": "string",
- "first_name": "string",
- "last_name": "string",
- "middle_name": "string"
}, - "status": "Active",
- "status_changed_at": "2019-08-24T14:15:22Z",
- "created_at": 0,
- "updated_at": 0,
- "identity_providers": [
- {
- "source": "UserID",
- "identifier": "string",
- "email": "string",
- "first_auth_date": "2019-08-24T14:15:22Z",
- "last_auth_date": "2019-08-24T14:15:22Z"
}
], - "identities": [
- {
- "provider_name": "string",
- "provider_type": "OAuth2",
- "auth_type": "webauthn",
- "identifier": "string",
- "user_alias": {
- "type": "username",
- "value": "string"
}, - "first_auth_date": "2019-08-24T14:15:22Z",
- "last_auth_date": "2019-08-24T14:15:22Z"
}
], - "last_auth": "2019-08-24T14:15:22Z",
- "external_account_id": "string",
- "app_name": "string",
- "custom_app_data": { },
- "groupIds": [
- "string"
], - "picture": "string",
- "language": "string",
- "custom_data": { },
- "external_user_id": "string",
- "password_information": {
- "expired": true,
- "temporary": true,
- "updated_at": 0,
- "expires_in": "2019-08-24T14:15:22Z"
}
}
]
}Remove a user from a group.
Required permissions: apps:edit, [appId]:edit, groups:edit.
Removed user from group.
{- "message": "Bad request",
- "error_code": 400
}