Method: organizations.developers.setDeveloperStatus

Sets a developer's status to active or inactive for a specific organization Run this API for each organization where you want to change the developer's status. By default, the status of a developer is set to active. Admins with proper permissions (such as Organization Administrator) can change a developer's status using this API call. If you set a developer's status to inactive, the API keys assigned to the developer's apps are no longer valid even though keys continue to show a status of "Approved" (in strikethrough text in the management UI). Inactive developers, however, can still log into the developer portal and create apps. The new keys that get created just won't work.Apigee recommends using the developer email in the API call. Developer ID is generated internally and is not guaranteed to stay the same over time. For example, Apigee could change the format or length of this variable. The HTTP status code for success is: 204 No Content.

HTTP request

POST https://apigee.googleapis.com/v1/{name=organizations/*/developers/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the Developer to be deleted. Must be of the form organizations/{org}/developers/{developer}

Query parameters

Parameters
action

string

Status to set active/inactive

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform