service-accounts
Create a service account.
Creates a service account in the organization with the given role (developer when omitted). Service accounts may hold any of their roles on every plan. A new account has no keys or trust rules; issue it a key with POST .../keys, or let a CI workflow sign in as it with POST .../trust-rules.
Requires the serviceAccounts.create permission, which only the admin and owner roles hold. Personal access tokens and federated (OIDC-exchanged) tokens are refused whatever their role (personal_access_token_forbidden or api_key_insufficient_permissions): sign in to the console instead.
post/organizations/{organizationId}/service-accounts
Request
- Base URLhttps://api.shorebird.dev/api/v1
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Response
The newly-created service account.
Changes
No recorded changes to this operation across all 1 revision of this API.