Module Values.DeleteWorkspaceServiceAccountRequestSource

Deletes a workspace service account from the workspace. This will delete any tokens created for the service account, as well. If the tokens are currently in use, the will fail to authenticate / authorize after they are deleted. Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.

Sourcetype nonrec t = {
  1. serviceAccountId : String_.t;
    (*

    The ID of the service account to delete.

    *)
  2. workspaceId : WorkspaceId.t;
    (*

    The ID of the workspace where the service account resides.

    *)
}
Sourceval context_ : string
Sourceval make : serviceAccountId:String_.t -> workspaceId:WorkspaceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t