{
	"id": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
	"name": "Users API - OneLogin",
	"description": "",
	"order": [
		"4bba86c5-db7b-15ed-7638-221856d6dd55",
		"983d19af-0d14-1da9-f837-b9ca55158023",
		"a62a1a68-f667-1185-28f0-3bf2f93f638f",
		"3c5c2486-662f-cc3e-d2c0-46b0b99b360c",
		"8290a711-9339-0674-a659-d204837b5aa1",
		"b7a7d87b-d960-e2ce-0451-3f34618829d3",
		"9428c521-e2f0-595b-8589-ef737a262234",
		"6e6128b5-1a24-1eab-f6ab-c7e9dffad06b",
		"c1d9d4d1-cd22-ab28-b39f-d768301a026f",
		"61a95223-f7e8-0c48-3b24-44d9fb83f73a",
		"06cf9d9f-3631-da6b-2ae2-753359b67072",
		"84117714-c6ed-6898-b80a-ed12fc5d1f2e"
	],
	"folders": [],
	"timestamp": 1423767195020,
	"synced": false,
	"owner": "35088",
	"sharedWithTeam": false,
	"subscribed": false,
	"remoteLink": "https://www.getpostman.com/collections/f037d1c985edf421538a",
	"public": false,
	"write": true,
	"requests": [
		{
			"id": "06cf9d9f-3631-da6b-2ae2-753359b67072",
			"headers": "",
			"url": "https://{{host}}/api/v3/users/username/{{username}}",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "DELETE",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"time": 1430879811626,
			"name": "Delete user by username",
			"description": "",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"synced": false,
			"rawModeData": "",
			"owner": "35088"
		},
		{
			"id": "3c5c2486-662f-cc3e-d2c0-46b0b99b360c",
			"headers": "Authorization: Basic NWE0Yjc3Yjk5NmNmZTMzNmYwMDg5MTNmMmUwODNlNjZjYzhiM2ViYjpUZXN0YXJ1ZGEx\n",
			"url": "https://{{host}}/api/v3/users/custom_attributes",
			"pathVariables": {},
			"preRequestScript": "",
			"method": "GET",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"data": [],
			"dataMode": "params",
			"name": "Get custom attributes",
			"description": "",
			"descriptionFormat": "html",
			"time": 1434583600266,
			"version": 2,
			"responses": [],
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"collectionOwner": 0,
			"synced": false
		},
		{
			"id": "4bba86c5-db7b-15ed-7638-221856d6dd55",
			"headers": "",
			"url": "https://{{host}}/api/v3/users.xml",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "GET",
			"data": [],
			"dataMode": "params",
			"version": 2,
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"time": 1430879066676,
			"name": "Get all users",
			"description": "",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"synced": false,
			"owner": "35088"
		},
		{
			"id": "61a95223-f7e8-0c48-3b24-44d9fb83f73a",
			"headers": "Content-Type: application/xml\n",
			"url": "https://{{host}}/api/v3/users/{{user_id}}/set_password.xml",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"time": 1430879740413,
			"name": "Set Password salt+sha256",
			"description": "",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"responses": [],
			"synced": false,
			"rawModeData": "<user>\n  <password>{password}</password>\n  <password_confirmation>{password_confirmation}</password_confirmation>\n  <password_salt>{password_salt}</password_salt>\n  <password_algorithm>salt+sha256</password_algorithm>\n</user>",
			"owner": "35088"
		},
		{
			"id": "6e6128b5-1a24-1eab-f6ab-c7e9dffad06b",
			"headers": "Content-Type: application/xml\n",
			"url": "https://{{host}}/api/v3/users/username/{{username}}",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"time": 1430879518651,
			"name": "Set password by username using cleartext",
			"description": "",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"synced": false,
			"rawModeData": "<user>\n  <password>{password}</password>\n  <password_confirmation>{password_confirmation}</password_confirmation>\n</user>",
			"owner": "35088"
		},
		{
			"id": "8290a711-9339-0674-a659-d204837b5aa1",
			"headers": "Content-Type: application/xml\n",
			"url": "https://{{host}}/api/v3/users.xml",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "POST",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"time": 1430879169200,
			"name": "Create User",
			"description": "",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"synced": false,
			"rawModeData": "<user>\n    <email>{email}</email>\n    <firstname>{firstname}</firstname>\n    <lastname>{lastname}</lastname>\n    <username>{username}</username>\n    <openid-name>{openid_name}</openid-name>\n    <phone>{phone}</phone>\n    <password>{password}</password>\n    <password_confirmation>{password_confirmation}</password_confirmation>\n    <department>{department}</department>\n    <company>{company}</company>\n    <title>{title}</title>\n    <custom_attribute_{custom_attribute_name}>{custom_attribute_value}</custom_attribute_{custom_atrribute_name}>\n</user>\n",
			"owner": "35088"
		},
		{
			"id": "84117714-c6ed-6898-b80a-ed12fc5d1f2e",
			"headers": "",
			"url": "https://{{host}}/api/v3/users/{{user_id}}.xml",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "DELETE",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"time": 1430879869878,
			"name": "Delete user by ID",
			"description": "",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"synced": false,
			"rawModeData": "",
			"owner": "35088"
		},
		{
			"id": "9428c521-e2f0-595b-8589-ef737a262234",
			"headers": "Content-Type: application/xml\n",
			"url": "https://{{host}}/api/v3/users/{{user_id}}.xml",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"time": 1430879266102,
			"name": "Update user by ID",
			"description": "",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"synced": false,
			"rawModeData": "<user>\n    <company>{company}</company>\n    <department>{department}</department>\n    <directory-id>{directory_id}</directory-id>\n    <distinguished-name>distinguished_name}</distinguished-name>\n    <email>{email}</email>\n    <external-id>{external_id}</external-id>\n    <firstname>{firstname}</firstname>\n    <group-id>{group_id}</group-id>\n    <invalid-login-attempts>{invalid_login_attempts}</invalid-login-attempts>\n    <lastname>Flores</lastname>\n    <member-of>{member_of}</member-of>\n    <openid_name>{openid_name}</openid_name>\n    <phone>{phone}</phone>\n    <samaccountname>{samaccountname}</samaccountname>\n    <status>{status}</status>\n    <title>{title}</title>\n    <username>{username}</username>\n    <userprincipalname>{userprincipalname}</userprincipalname>\n    <roles type='array'>\n      <role>{role_id}</role>\n      <role>{role_id}</role>\n    </roles>\n    <custom_attribute_{custom_attribute_name}>{custom_attribute_value}</custom_attribute_{custom_atrribute_name}>\n</user>",
			"owner": "35088"
		},
		{
			"id": "983d19af-0d14-1da9-f837-b9ca55158023",
			"headers": "",
			"url": "https://{{host}}/api/v3/users/username/{{username}}",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "GET",
			"data": [],
			"dataMode": "params",
			"version": 2,
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"time": 1430879097643,
			"name": "Get user by username",
			"description": "",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"synced": false,
			"owner": "35088"
		},
		{
			"id": "a62a1a68-f667-1185-28f0-3bf2f93f638f",
			"headers": "",
			"url": "https://{{host}}/api/v3/users/{{user_id}}.xml",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "GET",
			"data": [],
			"dataMode": "params",
			"version": 2,
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"time": 1430879131612,
			"name": "Get user by ID",
			"description": "",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"synced": false,
			"owner": "35088"
		},
		{
			"id": "b7a7d87b-d960-e2ce-0451-3f34618829d3",
			"headers": "Content-Type: application/xml\n",
			"url": "https://{{host}}/api/v3/users/username/{{username}}",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"time": 1430879377138,
			"name": "Update user by username",
			"description": "",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"synced": false,
			"rawModeData": "<user>\n    <username>{username}</username>\n    <company>{company}</company>\n    <department>{department}</department>\n    <directory-id>{directory_id}</directory-id>\n    <distinguished-name>distinguished_name}</distinguished-name>\n    <email>{email}</email>\n    <external-id>{external_id}</external-id>\n    <firstname>{firstname}</firstname>\n    <group-id>{group_id}</group-id>\n    <invalid-login-attempts>{invalid_login_attempts}</invalid-login-attempts>\n    <lastname>Flores</lastname>\n    <member-of>{member_of}</member-of>\n    <openid_name>{openid_name}</openid_name>\n    <phone>{phone}</phone>\n    <samaccountname>{samaccountname}</samaccountname>\n    <status>{status}</status>\n    <title>{title}</title>\n    <userprincipalname>{userprincipalname}</userprincipalname>\n    <roles type='array'>\n      <role>{role_id}</role>\n      <role>{role_id}</role>\n    </roles>\n    <custom_attribute_{custom_attribute_name}>{custom_attribute_value}</custom_attribute_{custom_atrribute_name}>\n</user>",
			"owner": "35088"
		},
		{
			"id": "c1d9d4d1-cd22-ab28-b39f-d768301a026f",
			"headers": "Content-Type: application/xml\n",
			"url": "https://{{host}}/api/v3/users/{{user_id}}.xml",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "basicAuth",
			"helperAttributes": {
				"username": "{{api_key}}",
				"password": "{{password}}",
				"id": "basic",
				"timestamp": 1429135262106
			},
			"time": 1430879672393,
			"name": "Set password for user by ID using cleartext",
			"description": "",
			"collectionId": "70694002-2bc9-d7fa-3577-be8d7d4b8ca6",
			"synced": false,
			"rawModeData": "<user>\n  <password>{password}</password>\n  <password_confirmation>{password_confirmation}</password_confirmation>\n</user>",
			"owner": "35088"
		}
	]
}