Skip to main content

Endpoints

Get current organization

Returns the organization associated with the API key. Required scope: organizations:read

Example request

Example response

Update organization

Updates organization settings. Required scope: organizations:write

Request body

Example request

Example response

List members

Returns all members of the organization. Required scope: organizations:read

Query parameters

Example request

Example response

Invite a member

Sends an invitation email to a new member. Required scope: organizations:write

Request body

Example request

Example response

The invitee receives an email with a link to accept the invitation. Invitations expire after 7 days.

Update a member’s role

Changes the role of an existing organization member. Required scope: organizations:write

Request body

Example request

Example response

You cannot change the role of an Owner via the API. Ownership transfer must be done through the Pwnbook web UI by the current owner.

Remove a member

Removes a member from the organization. The user’s account is not deleted. Required scope: organizations:write

Example request

Example response

Removing a member immediately revokes their access to the organization. This action takes effect instantly.