Endpoints related to authentication, including login, token management, and authorisation.
- Creates a user and adds them to an organisation
List users of an organisation
Retrieves organisation user with associated teams.
Updates details of an organisation user
Remove a user from an organisation and delete the
Creates a user and adds t...
Wia REST API User reference (v1)
A REST API to interact with Wia platform for user management for external IAM teams.
To get started, please ensure you have the correct permissions and appropriate client credentials. If you have not been provided client credentials, please contact your representative.
The API is organised around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
Download OpenAPI description
Languages
Servers
Mock server
https://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement
Production
https://api.wia.io/v1
- Mock serverhttps://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/organisations/users/
- Productionhttps://api.wia.io/v1/organisations/users/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/organisations/users/ \
-H 'Authorization: Bearer <YOUR_Bearer_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"emailAddress": "string",
"fullName": "string",
"password": "string",
"loginViaSsoOnly": "string"
}'Response
application/json
{ "id": "ou_abc123def", "firstName": "Pina", "lastName": "Colada", "fullName": "Pina Colada", "userId": "usr_abc123def", "emailAddress": "pina.colada@wia.io", "isAdmin": false, "teams": [ { … } ] }
- Mock serverhttps://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/organisations/users
- Productionhttps://api.wia.io/v1/organisations/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/organisations/users?limit=20&page=0&sort=ASC&order=string' \
-H 'Authorization: Bearer <YOUR_Bearer_HERE>'Response
application/json
[ { "id": "ou_abc123def", "firstName": "Pina", "lastName": "Colada", "fullName": "Pina Colada", "userId": "usr_abc123def", "emailAddress": "pina.colada@wia.io", "isAdmin": false, "teams": [ … ] } ]
- Mock serverhttps://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/organisations/{organisationUserId}
- Productionhttps://api.wia.io/v1/organisations/{organisationUserId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/organisations/{organisationUserId}' \
-H 'Authorization: Bearer <YOUR_Bearer_HERE>'Response
application/json
{ "id": "ou_abc123def", "firstName": "Pina", "lastName": "Colada", "fullName": "Pina Colada", "userId": "usr_abc123def", "emailAddress": "pina.colada@wia.io", "isAdmin": false, "teams": [ { … } ] }
- Mock serverhttps://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/organisations/users/{organisationUserId}
- Productionhttps://api.wia.io/v1/organisations/users/{organisationUserId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/organisations/users/{organisationUserId}' \
-H 'Authorization: Bearer <YOUR_Bearer_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"isAdmin": true
}'Response
application/json
{ "id": "ou_abc123def", "firstName": "Pina", "lastName": "Colada", "fullName": "Pina Colada", "userId": "usr_abc123def", "emailAddress": "pina.colada@wia.io", "isAdmin": false, "teams": [ { … } ] }
- Mock serverhttps://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/organisations/users/{organisationUserId}
- Productionhttps://api.wia.io/v1/organisations/users/{organisationUserId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/organisations/users/{organisationUserId}' \
-H 'Authorization: Bearer <YOUR_Bearer_HERE>'Response
application/json
{ "removed": true }