Use the DevOps API to create, modify, and delete roles for your organization.
The following roles use the application token to execute DevOps API queries:
- Organization Administrator
- Database Administrator
Prerequisites
- Create an application token to authenticate your service account in the DevOps API.
- Once you have authenticated your service account, you can create and delete users in the DevOps API.
- Check existing users within the organization:
- Invite a new user to your organization:
For roles , use the id UUID value by Getting existing roles in your organization. The API results will show the UUID for each role id .
Your invited user must validate their email address in their invitation before they can log in to Astra.
For more, see link:_attachments/devopsv2.html#operation/inviteUserToOrganization[Invite a user to an organization] in the DevOps API.
- Check for a specified user's information within the organization:
For more, see link:_attachments/devopsv2.html#operation/getOrganizationUser[Get an organization's user] in the DevOps API.
- Delete a user by their ID:
- Confirm user no longer exists:
For more, see link:_attachments/devopsv2.html#operation/removeUserFromOrganization[Remove or uninvite a user from an organization] in the DevOps API.
What’s next?
Learn how to manage tokens using the DevOps API.