---
updatedAt: 2026-03-01T18:50:47.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/cloudtest/llms.txt
---

# Update an object

Update a repository object.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's CloudTest API",
    "url": "https://techdocs.akamai.com/cloudtest/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Objects",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/RepositoryService/v1/Objects/{type}/{objectId}": {
      "post": {
        "description": "Update a repository object.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's CloudTest API",
          "url": "https://techdocs.akamai.com/cloudtest/reference/post-objects"
        },
        "operationId": "post-objects",
        "parameters": [
          {
            "description": "Alternative authorization methods. Options are Basic authentication or Bearer using the API Key listed in Account Settings. See [Get started](ref:get-started) for help initially running the API.",
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "type": "string"
            },
            "x-akamai": {
              "file-path": "headers/authorization.yaml"
            }
          },
          {
            "description": "All calls to this API require that you pass in the token you get from the [Generate a token](ref:put-token) operation as an `X-Auth-Token` request header. See [Get started](ref:get-started) for help to initially call the API.",
            "in": "header",
            "name": "X-Auth-Token",
            "required": true,
            "schema": {
              "example": "41871277-d0a-1153-4fc6-a6c2-c48ffb3c8307",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "headers/x-auth-token.yaml"
            }
          },
          {
            "description": "Optional, for use with the `X-Auth-Token` authorization header. The name of the tenant to connect to. Must be a tenant the user account has access to.",
            "in": "header",
            "name": "X-Tenant-Name",
            "required": false,
            "schema": {
              "example": "Akamai Corporate",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "headers/x-tenant-name.yaml"
            }
          },
          {
            "description": "__Enum__ [Type](ref:api-concepts) of object.",
            "in": "path",
            "name": "type",
            "required": true,
            "schema": {
              "enum": [
                "alert",
                "composition",
                "custommodule",
                "dashboard",
                "domain",
                "externaldatasource",
                "messageclip",
                "monitorspec",
                "reporttemplate",
                "seeddata",
                "target",
                "tenant",
                "transition",
                "user",
                "usergroup"
              ],
              "example": "tenant",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/type-post.yaml"
            }
          },
          {
            "description": "Uniquely identifies each object.",
            "in": "path",
            "name": "objectId",
            "required": true,
            "schema": {
              "example": 1,
              "type": "integer"
            },
            "x-akamai": {
              "file-path": "parameters/object-id-path.yaml"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "attributes": [
                  {
                    "name": "password",
                    "value": "dont tell!"
                  },
                  {
                    "name": "emailAddress",
                    "value": "john@acme.com"
                  }
                ],
                "name": "John Hancock",
                "type": "user"
              },
              "schema": {
                "additionalProperties": false,
                "description": "Repository object data.",
                "properties": {
                  "attributes": {
                    "description": "Type-specific attributes (required for some object types). For example, the user type includes the attributes `fullName`, `emailAddress`, and `password`. Different types have different sets of attributes.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "name": {
                          "description": "Object attribute name.",
                          "type": "string"
                        },
                        "value": {
                          "description": "Object attribute value.",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "body": {
                    "description": "The XML body, required for all object types.  You can get the XML body from an existing object by exporting it from the CloudTest UI.",
                    "type": "string"
                  },
                  "name": {
                    "default": "akamai.com",
                    "description": "The object name.",
                    "type": "string"
                  },
                  "type": {
                    "default": "domain",
                    "description": "The [CloudTest object type](ref:api-concepts).",
                    "enum": [
                      "alert",
                      "composition",
                      "custommodule",
                      "dashboard",
                      "domain",
                      "externaldatasource",
                      "messageclip",
                      "monitorspec",
                      "reporttemplate",
                      "seeddata",
                      "target",
                      "tenant",
                      "transition",
                      "user",
                      "usergroup"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "name"
                ],
                "type": "object",
                "x-akamai": {
                  "file-path": "schemas/post-object.yaml"
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "content": {},
            "description": "Successfully updated."
          },
          "400": {
            "content": {},
            "description": "[Bad request](ref:400). The URL or JSON request object is invalid.",
            "x-akamai": {
              "file-path": "errors/400.yaml"
            }
          }
        },
        "summary": "Update an object",
        "tags": [
          "Objects"
        ]
      },
      "parameters": [
        {
          "description": "Uniquely identifies each object.",
          "in": "path",
          "name": "objectId",
          "required": true,
          "schema": {
            "example": 1,
            "type": "integer"
          },
          "x-akamai": {
            "file-path": "parameters/object-id-path.yaml"
          }
        },
        {
          "description": "__Enum__ These are the [available types for CloudTest](ref:api-concepts).",
          "in": "path",
          "name": "type",
          "required": true,
          "schema": {
            "enum": [
              "alert",
              "composition",
              "custommodule",
              "dashboard",
              "domain",
              "externaldatasource",
              "messageclip",
              "monitorspec",
              "reporttemplate",
              "resultsdatabase",
              "seeddata",
              "target",
              "tenant",
              "testenvironment",
              "transition",
              "user",
              "usergroup"
            ],
            "example": "tenant",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/types.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/object.yaml",
        "path-info": "/RepositoryService/v1/Objects/{type}/{objectId}"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/concerto/services/rest"
    }
  ],
  "x-akamai": {
    "auth-type": "OAUTH",
    "file-path": "05-objects.yaml"
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [List objects](https://techdocs.akamai.com/cloudtest/reference/get-objects-attribute.md)
* [Create an object](https://techdocs.akamai.com/cloudtest/reference/put-object.md)
* [Get an object](https://techdocs.akamai.com/cloudtest/reference/get-object.md)
* [Delete an object](https://techdocs.akamai.com/cloudtest/reference/delete-objects.md)
* [Transfer object ownership](https://techdocs.akamai.com/cloudtest/reference/post-mass-change-owner.md)