Identity and Access Management (IAM) API
Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and…
Identity & security#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API.
Endpoints 5
policies
- GETRetrieves the policies of the specified kind that are attached to a resource
/v2/:parent?pageSize=0&pageToken=stringRetrieves the policies of the specified kind that are attached to a resource. The response lists only policy metadata. In particular, policy rules are omitted. - POSTCreates a policy.
/v2/:parent?policyId=stringCreates a policy. - PUTUpdates the specified policy
/v2/:nameUpdates the specified policy. You can update only the rules and the display name for the policy. To update a policy, you should use a read-modify-write loop:… - DELETEDeletes a policy
/v2/:name?etag=stringDeletes a policy. This action is permanent.
policies.operations
- GETGets the latest state of a long-running operation
/v2/:nameGets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
API details
- Base URL
https://iam.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter - Operations
- 5 operations on 2 pathsGET 2PUT 1POST 1DELETE 1
- Main resources
- policies 4policies.operations 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v2 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Identity and Access Management (IAM) API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Identity and Access Management (IAM) API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Retrieves the policies of the specified kind that are attached to a resource” (GET /v2/:parent?pageSize=0&pageToken=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Identity and Access Management (IAM) API?
Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and… It is listed under Identity & security and has 5 endpoints.
Who publishes the Identity and Access Management (IAM) API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Identity and Access Management (IAM) API?
Requests go to https://iam.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Identity and Access Management (IAM) API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.
How many endpoints does the Identity and Access Management (IAM) API have?
5 operations on 2 paths (2 GET, 1 PUT, 1 POST, 1 DELETE). The largest groups are policies, policies.operations.
Is forking the Identity and Access Management (IAM) API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.