Publish a field mapping version.
POST
/api/admin/field-mapping/field-mapping-sets/{fieldMappingSetId}/versions/{fieldMappingVersionId}/publish
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/field-mapping/field-mapping-sets/example/versions/example/publish \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'Publishes a draft field mapping version for the specified field mapping set. The mutation is idempotent when an Idempotency-Key header is supplied and returns the lifecycle transition in a result envelope.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” fieldMappingSetId
required
string
fieldMappingVersionId
required
string
Header Parameters
Section titled “Header Parameters ” Idempotency-Key
string
Idempotency key for state-changing operations that support replay protection.
Request Body
Section titled “Request Body ” Media type application/json
object
key
additional properties
Example
{}Responses
Section titled “ Responses ”Lifecycle transition response.
Media type application/json
object
result
required
object
id
required
string
tenantId
string
fieldMappingSetId
string
fieldMappingVersionId
string
lifecycleState
required
string
reviewedAt
integer
activatedAt
integer
publishedAt
integer
deactivatedAt
integer
key
additional properties
key
additional properties
Example generated
{ "result": { "id": "example", "tenantId": "example", "fieldMappingSetId": "example", "fieldMappingVersionId": "example", "lifecycleState": "example", "reviewedAt": 1, "activatedAt": 1, "publishedAt": 1, "deactivatedAt": 1 }}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}