Created
November 20, 2015 21:17
-
-
Save dtolb/a21073909cd770e5fdbf to your computer and use it in GitHub Desktop.
Create endpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /v1/users/{user-id}/domains/{domain-id}/endpoints | |
{ | |
"name" : "jsmith_mobile", | |
"description" : "John Smiths mobile client", | |
"domain_id" : "{domain-id}", | |
"application_id" : "{application-id}", | |
"enabled" : "true", | |
"credentials" : { "password" : "abc123" } | |
} | |
HTTP/1.1 201 Created | |
Location: /v1/users/{user-id}/domains/{domain-id}/endpoints/{endpoint-id} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment