POST
/
v1
/
relationship
/
job-to-resource
curl --request POST \
  --url https://api.ctrlplane.dev/api/v1/relationship/job-to-resource \
  --header 'Content-Type: application/json' \
  --data '{
  "jobId": "123e4567-e89b-12d3-a456-426614174000",
  "resourceIdentifier": "resource-123"
}'
{
  "message": "Relationship created successfully"
}

Body

application/json
jobId
string
required

Unique identifier of the job

Example:

"123e4567-e89b-12d3-a456-426614174000"

resourceIdentifier
string
required

Unique identifier of the resource

Maximum length: 255
Example:

"resource-123"

Response

200
application/json
Relationship created successfully
message
string
Example:

"Relationship created successfully"