Skip to content

Check in a resource

Request

OPA roles:
  • resource_admin
  • security_admin
  • delegated_resource_admin
  • delegated_security_admin

Checks in a resource (forcefully). As an admin, use this request to return a resource that any user has checked out.

Security
bearerAuth
Path
team_namestringrequired

The name of your team

resource_group_idstringrequired

The UUID of a resource group

project_idstringrequired

The UUID of a project

Bodyapplication/json
resource_idstringrequired

The UUID or ORN of the resource

resource_typestring(CheckoutResourceType)required

The type of resource that was checked out

Enum:"database_account_password_login""managed_saas_app_account_password_login""okta_universal_directory_account_password_login""pam_ad_account_password_login""server_account_password_login"
curl -i -X POST \
  'https://{org_name}.pam.okta.com/v1/teams/{team_name}/resource_groups/{resource_group_id}/projects/{project_id}/checkin_resource' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "resource_id": "string",
    "resource_type": "database_account_password_login"
  }'

Responses

No Content