v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1425156138.7 KB

Use this operation to define the identity provider (IdP) that this workspace authenticates users from, using SAML. You can also map SAML assertion attributes to workspace user information and define which groups in the assertion attribute are to have the Admin and Editor roles in the workspace.

Changes to the authentication method for a workspace may take a few minutes to take effect.

post/workspaces/{workspaceId}/authentication

Path parameters

workspaceIdstring required

The ID of the workspace to update the authentication for.

Request body

authenticationProvidersAuthenticationProviderTypes[] required

Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html">User authentication in Amazon Managed Grafana</a>.

Response

Success