Last updated
Last updated
POST
https://pm415.com/api/org
Creates an organization.
GET
https://pm415.com/api/org
Gets info about all of the orgs. There are no request parameters - only a response.
POST
https://pm415.com/api/org/switch/:orgid
Switches orgs and generates a new token. This is useful if you are building a user interface, or CLI tool, and want to operate on one org at a time. The org you operate on is encapsulated in the token. Switching orgs, and tokens, allows you to operate on different orgs without having to save sessions artifacts (cookies, web storage, files, etc) on the client.
PUT
https://pm415.com/api/org/:orgid
Update an org's name
DELETE
https://pm415.com/api/org/:orgid
GET
https://pm415.com/api/org/:orgid/users
Gets information about an organization's users
GET
https://pm415.com/api/org/invite/?token=8s80f934kf94
Checks an invite token to see if it is valid and who it belongs to.This method is used by the PM415 user interface and may not have any other practical use case.
POST
https://pm415.com/api/org/:orgid/invitelink
Creates an invite link for a new user.
POST
https://pm415.com//api/org/:orgid/users/remove
Removes users from an organization. This does not delete the user's profile - just the link between the org and the user. To add them back, you must re-invite them.
PUT
https://pm415.com/api/org/:orgid/admin/grant
Gives a user admin privileges. Admins can perform all operations on an org and its users.
PUT
https://pm415.com/api/org/:orgid/admin/revoke
Revokes a user's admin privileges.
PUT
https://pm415.com/api/org/:orgid/admin/resetpassword
Resets user passwords and sends emails with reset links.
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
:orgid
number
The ID of the org you want to switch to
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
:orgid
number
The ID of the org you want to update
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
object
{"name": "updatedOrgName"}
:orgid
number
The ID of the org you want to delete
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
:orgid
number
The ID of the org you want to query
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
token
string
Invitation token sent to a user.
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
:orgid
number
The ID of the org you want to work with
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
object
{email: “suziereider@tmail.com”}
:orgid
number
The ID of the org you want to work with
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
object
{"usersId": ["4", "6"]}
:orgid
number
The ID of the org you want to work with
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
object
{"usersId": ["4", "6"]}
:orgid
number
The ID of the org you want to work with
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
object
{"usersId": ["4", "6"]}
:orgid
number
The ID of the org you want to work with
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
object
{"usersId": ["4", "6"]}
These methods allow you to create, delete and switch orgs. Other org methods allow you to invite and remove users from orgs.
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
object
{"name" : "myOrg"}