Skip to content

Instantly share code, notes, and snippets.

@gugu
Last active April 21, 2019 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gugu/aec9190a939502a38f2f8b0703a6932b to your computer and use it in GitHub Desktop.
Save gugu/aec9190a939502a38f2f8b0703a6932b to your computer and use it in GitHub Desktop.
Short.cm Enterprise API

Enterprise API

Retrieving team list

GET https://api.short.cm/teams/v2

Retrieving member list

GET https://api.short.cm/teams/v2/:team_id/members

Adding a member to the team

POST https://api.short.cm/teams/v2/:team_id/members
{
  "email": "test@example.com",
  "role": "user|admin|readonly"
}

Retrieving domain list

GET /teams/v2/:team_id/domains/

Adding a domain to the team

POST /teams/v2/:team_id/domains/:domain_id

Deleting a domain from the team

DELETE /teams/v2/:team_id/domains/:domain_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment