Update access profile in organization
Updates an access profile's alias, description, config, or organization sharing.
Updates an access profile's alias, description, config, or organization sharing.
bearerAuthorizationBearer <token>An access token, or an API key.
organization*stringThe organization's ID.
^org_[0-7][0-9a-hjkmnp-tv-z]{25}$accessProfile*stringThe access profile's ID.
^acp_[0-7][0-9a-hjkmnp-tv-z]{25}$application/json- body
alias?stringNew alias.
^[a-z][a-z0-9_]*(/[a-z0-9_]+)*$1 <= length <= 128availability?For an organization access profile: updated project sharing. Takes connections.accessProfiles.setAvailability.
config?Replacement provider-specific ceiling scope. Takes connections.connections.use on the backing connection.
description?stringNew description.
length <= 500etag?stringExpected etag for optimistic concurrency.
OK
application/json- response
alias*stringShort name unique within its organization or project, such as github/kosem or gcp/preview_viewer.
availability*For an organization's access profile: projects it is shared with. Shared profiles materialize read-only project copies automatically.
config*Provider-specific ceiling scope for issued credentials.
connection*stringResource name of the backing connection.
createTime*stringWhen the access profile was created.
date-timedescription*stringWhat this access profile is for.
etag*stringOpaque revision tag for optimistic concurrency on updates.
name*stringResource name: organizations/{organization_id}/accessProfiles/{profile_id} or projects/{project_id}/accessProfiles/{profile_id}.
provider*stringProvider type, such as providers/github, providers/google-cloud or providers/aws.
source?stringFor a shared project copy: resource name of the organization access profile it mirrors.
state*stringWhether credentials can be issued through this profile.
"ACTIVE""NEEDS_ATTENTION"stateReason*stringWhy the profile needs attention.
updateTime*stringWhen the access profile was last updated.
date-timecurl -X PATCH 'https://api.kosem.ai/v1/organizations/string/accessProfiles/string' \
-H 'Content-Type: application/json' \
-d '{}'{
"alias": "string",
"availability": {
"allProjects": true,
"projects": [
"string"
]
},
"config": {
"property1": null,
"property2": null
},
"connection": "string",
"createTime": "2019-08-24T14:15:22Z",
"description": "string",
"etag": "string",
"name": "string",
"provider": "string",
"source": "string",
"state": "ACTIVE",
"stateReason": "string",
"updateTime": "2019-08-24T14:15:22Z"
}