https://console.iugu.com/provide_identity
Provision a temporary user identity
Creates a temporary user (TempUser) from an external identity provider so it can be authorized within a workspace. The target workspace comes from the Workspace header.
Sem ações implementadas definidas
Request
|
Headers |
|
|---|---|
|
Workspace
Required Type: string The unique identifier of the workspace the identity belongs to. Ex: 15b9b47f-d0fe-4d5a-afe1-f49d384869ba |
|
|
Body Required Content Type: application/json |
||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"name": "John Doe",
"email": "[email protected]",
"role_ids": [
"3dXBP3v36sZZKsfIhuTBec"
],
"locale": "pt-BR",
"provider_name": "okta",
"provider_id": "00u1a2b3c4d5e6f7g8h9",
"provider_sub": "<PROVIDER_SUB>",
"id": "<ID>",
"ttl": 3600
}
Response
|
201 |
||||
|---|---|---|---|---|
|
TempUser created
|
||||
1
2
3
4
{
"message": "TempUser created successfully",
"id": "user:6f1e2d3c4b5a"
}
|
400 |
||
|---|---|---|
|
Invalid JSON format
|
||
1
2
3
{
"error_description": "Param workspace_id is required"
}
|
422 |
||
|---|---|---|
|
Validation error
|
||
1
2
3
{
"error_description": "Param workspace_id is required"
}