Create a group for your users
{- "name": "string",
- "description": "string",
- "custom_data": { }
}
{- "result": {
- "group_id": "string",
- "name": "string",
- "description": "string",
- "created_at": 0,
- "updated_at": 0,
- "custom_data": { }
}
}
{- "result": [
- {
- "group_id": "string",
- "name": "string",
- "description": "string",
- "created_at": 0,
- "updated_at": 0,
- "custom_data": { }
}
]
}
{- "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.
{- "name": "string",
- "description": "string",
- "custom_data": { }
}
{- "result": {
- "group_id": "string",
- "name": "string",
- "description": "string",
- "created_at": 0,
- "updated_at": 0,
- "custom_data": { }
}
}
Add one or more users as members of a group
Assigned users to group.
{- "user_ids": [
- "string"
]
}
{- "message": "Bad request",
- "error_code": 400
}
Retrieve all users that are members of a specific group
{- "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
}
}
]
}
Remove a user from a group
Removed user from group.
{- "message": "Bad request",
- "error_code": 400
}