API Keys

Caller's role in an organization (for scope-edit UX)

Returns the session user's membership role in the given organization so clients can disable scope editing for non-admins.

post/apikeys/getMyRole

Request

  • Base URL
    https://api.databuddy.cc
  • URL
    https://api.databuddy.cc/apikeys/getMyRole
  • Auth
    API key in header x-api-key

Request body

organizationIdstring required

Response

OK

role'owner' | 'admin' | 'member' nullable required
canEditScopesboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.