Logo
30 Days of Postman exercises API Documentation

Create User

POST https://api.getpostman.com/scim/v2/Users

Creates a new user account in Qodex, adds the user to your organization's Qodex team, and activates the user to authenticate into your Qodex team, provided an account with the same email ID does not already exist in Qodex. The newly added user will have the developer role in Qodex by default. You can later update user roles in Qodex.

If an account with the same email ID does exist, an [email invite] to join your Qodex team is sent to the user. Once the user accepts the invite, they will be added to your team.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status Created

{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User" ], "id": "405775fe15ed41872a8eea4c8aa2b38cda9749812cc55c99", "userName": "testUser@postman.local", "name": { "givenName": "Test", "familyName": "User" }, "externalId": "23123123", "active": true, "meta": { "resourceType": "User", "created": "2021-02-22T04:24:13.000Z", "lastModified": "2021-02-22T04:24:13.000Z" } }



Curl
curl -X POST 'https://api.getpostman.com/scim/v2/Users' -H 'Authorization: undefined' -d '{"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"userName":"undefined","name":{"givenName":"Test","familyName":"User"},"externalId":"23123123","locale":"en-US","active":true}'

ENDPOINTS