Users
Last updated
Was this helpful?
Last updated
Was this helpful?
GET /v1/partner-portals/{portalId}/users HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"paging": {
"next": {
"after": "text"
}
},
"data": [
{
"id": "text",
"first_name": "text",
"last_name": "text",
"email": "text",
"last_logged_at": 1
}
]
}
GET /v1/partner-portals/{portalId}/users/{userId} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"id": "text",
"first_name": "text",
"last_name": "text",
"email": "text",
"last_logged_at": 1
}
DELETE /v1/partner-portals/{portalId}/users/{userId} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"id": "text",
"isDeleted": true
}
When set, this will be the password of the User that he/she can use at the first connection.
Contains the list of Role Ids that should be granted to this Portal User
User locale, used for time and numbers formatting.
en_US
POST /v1/partner-portals/{portalId}/users HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 151
{
"first_name": "text",
"last_name": "text",
"email": "text",
"password": "text",
"roles": [
"text"
],
"locale": "en_US",
"attributes": [
{
"id": "text",
"value": "text"
}
]
}
{
"id": "text",
"first_name": "text",
"last_name": "text",
"email": "text",
"last_logged_at": 1
}