latestOpenAPI 3.0.02026-08-0819201.1 MB

411f9f98c01e

scheduled executions

Starts the process of verifying a credential for the specified component.

You need to have workspaces.credential.edit permission to access this resource. The verification credential is an asynchronous process because it is accomplished by sending a request to an external API.

post/components/{component_id}/versions/{git_revision}/verify-credential

Path parameters

component_idstring required

Component identifier

git_revisionstring required

Revision of the component’s build. For latest version use latest.

Request body

Example request

{
  "data": {
    "relationships": {
      "workspace": {
        "data": {
          "id": "5b4f337bff4304610483ba67"
        }
      },
      "agent": {
        "data": {
          "id": "5b4f337bff4304610483ba67"
        }
      }
    }
  }
}

Response

Accepted

metaobject required

Example response

{
  "data": {
    "id": "5b4f337bff4304610483ba67",
    "links": {
      "self": "/v2/exec/result/5b4f337bff4304610483ba67"
    },
    "attributes": {
      "status": "Pending request, waiting other process"
    }
  }
}