- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Detaches a service project from a host project. You can call this API from any service project without needing access to the host project that it is attached to.
HTTP request
POST https://apphub.googleapis.com/v1/{name=projects/*/locations/*}:detachServiceProjectAttachment
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Service project id and location to detach from a host project. Only global location is supported. Expected format: |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
apphub.serviceProjectAttachments.detach
For more information, see the IAM documentation.