{ "openapi": "3.0.0", "externalDocs": { "description": "See documentation for Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference" }, "info": { "title": "Akamai: Akamai MFA API", "version": "v1", "license": { "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" } }, "paths": { "/email-enrollments": { "post": { "description": "Send enrollment email to a set of new users inviting them to Akamai MFA. This operation provides users with unique links to enroll and activate authentication devices in Akamai MFA.", "operationId": "post-send-enrollment-email", "summary": "Send enrollment email", "tags": [ "Email enrollments" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/post-send-enrollment-email" }, "requestBody": { "required": true, "content": { "application/json": { "example": { "userIds": [ "user_5JmO0b2SZMrc72a2C8A25R" ] }, "schema": { "additionalProperties": false, "description": "Specifies a list of users to send enrollment emails.", "type": "object", "required": [ "userIds" ], "properties": { "userIds": { "description": "A set of users to send enrollment emails.", "minItems": 1, "type": "array", "items": { "minLength": 1, "type": "string" } } }, "x-akamai": { "file-path": "schemas/assignUsers.yaml" } } } } }, "responses": { "200": { "description": "The enrollment email was successfully sent to the users.", "content": { "application/json": { "example": { "userIds": [ "user_5JmO0b2SZMrc72a2C8A25R" ] }, "schema": { "additionalProperties": false, "description": "Specifies a list of users to send enrollment emails.", "type": "object", "required": [ "userIds" ], "properties": { "userIds": { "description": "A set of users to send enrollment emails.", "minItems": 1, "type": "array", "items": { "minLength": 1, "type": "string" } } }, "x-akamai": { "file-path": "schemas/assignUsers.yaml" } } } } } }, "parameters": [ { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] } }, "/users": { "get": { "description": "List user accounts configured in Akamai MFA, optionally filtered and paginated.", "operationId": "get-users", "summary": "List users", "tags": [ "Users" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/get-users" }, "responses": { "200": { "description": "The response provides a list of users.", "content": { "application/json": { "example": { "totalItems": 50, "totalPages": 2, "users": [ { "createdDate": "2021-10-21T04:03:30.678+00:00", "deviceCount": 1, "email": "john-doe@example.com", "firstName": "John", "lastName": "Doe", "modifiedDate": "2021-10-21T04:04:45.091+00:00", "userId": "user_2eVKpVVpgzM3fPWsao3sbh", "userStatus": "ACTIVE", "username": "mrossi", "importSource": { "id": "scim_1787", "type": "SCIM" }, "aliases": [ { "alias": "johndoe", "aliasId": "alias_2DveJ9HKmURNmKrz3EOxWZ", "createdDate": "2021-10-21T04:04:46.309+00:00", "modifiedDate": "2021-10-21T04:04:46.309+00:00" }, { "alias": "john_doe", "aliasId": "alias_6AWYrzkzVOfLPIF2iQRBFe", "createdDate": "2021-10-21T04:04:46.505+00:00", "modifiedDate": "2021-10-21T04:04:46.505+00:00" } ], "devices": [ { "createdDate": "2021-02-26T08:32:36.149+00:00", "deviceId": "device_5Vv4g1iex1ntW5L1bQbcaG", "deviceName": "iPhone", "deviceType": "PUSH", "modifiedDate": "2021-03-04T17:15:11.719+00:00", "platform": "ios" }, { "createdDate": "2021-02-26T08:33:38.521+00:00", "deviceId": "device_7HKbbp6wDRqHiYJW8d2lpY", "deviceName": "Security Key", "deviceType": "SECURITY_KEY", "modifiedDate": "2021-02-26T08:33:38.521+00:00", "platform": "fido2" } ], "groups": [ { "groupId": "group_bcUpUwdxFcu5aTUoLL3Yk", "groupName": "admins", "summary": "Group with admin access to acme resources" }, { "groupId": "group_76ZUMpiZY4OGDbtqroy85K", "groupName": "sales", "summary": "Group for Sales users" } ] }, { "createdDate": "2021-10-21T04:06:45.767+00:00", "deviceCount": 0, "email": "email@example.com", "firstName": "Linda", "lastName": "Jones", "modifiedDate": "2021-10-21T04:07:41.255+00:00", "userId": "user_Zh2UcHNP8VhU7M8VlwWEg", "userStatus": "UNENROLLED", "username": "adevi", "devices": [], "aliases": [ { "alias": "lindaj", "aliasId": "alias_6DP9c4ovAm3pCR5sPb9kJS", "createdDate": "2021-10-21T04:07:42.319+00:00", "modifiedDate": "2021-10-21T04:07:42.319+00:00" }, { "alias": "linda_jones", "aliasId": "alias_6Hawc7kOU3NTdWlvGfBodv", "createdDate": "2021-10-21T04:07:42.395+00:00", "modifiedDate": "2021-10-21T04:07:42.395+00:00" } ], "groups": [ { "groupId": "group_bcUpUwdxFcu5aTUoLL3Yk", "groupName": "admins", "summary": "Group with admin access to acme resources" } ] } ] }, "schema": { "additionalProperties": false, "description": "Provides response data with a list of user accounts configured in Akamai MFA.", "type": "object", "required": [ "users", "totalPages", "totalItems" ], "properties": { "page": { "description": "The currently displayed page.", "minimum": 1, "type": "integer" }, "totalItems": { "description": "The total number of user accounts matching the entered query.", "minimum": 0, "type": "integer" }, "totalPages": { "description": "The number of user accounts displayed on each page.", "minimum": 0, "type": "integer" }, "users": { "description": "A paged list of user accounts configured in Akamai MFA.", "minItems": 0, "type": "array", "items": { "additionalProperties": false, "description": "Provides response data for a specific user.", "type": "object", "required": [ "userId", "username", "userStatus", "deviceCount", "createdDate" ], "properties": { "aliases": { "description": "The user's alternate names.", "minItems": 0, "type": "array", "items": { "additionalProperties": false, "type": "object", "required": [ "aliasId", "alias", "createdDate" ], "properties": { "alias": { "description": "Alternate usernames for the user.", "minLength": 1, "type": "string" }, "aliasId": { "description": "A unique identifier for the user's alternate username.", "minLength": 1, "type": "string" }, "createdDate": { "description": "ISO 8601 timestamp marking when the alias was created.", "type": "string" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the alias was last modified.", "type": "string" } }, "x-akamai": { "file-path": "schemas/userAlias.yaml" } } }, "createdDate": { "description": "ISO 8601 timestamp marking when the user account was created.", "type": "string" }, "deviceCount": { "description": "The number of authentication devices enrolled by the user in Akamai MFA. The user can enroll and use a set of authentication devices. The supported device types include the following: `PUSH`. Any device that supports sending push notifications, for example, tablets and smartphones. `PHONE_ONLY`. A non-smartphone mobile device that supports only text messages and calls. `SECURITY_KEY`. A FIDO2 WebAuthn security key such as a YubiKey or Akamai MFA phone security key. `TOTP`. A hardware device that generates one-time passcodes. `HARDWARE_TOKEN`. A security device that generates one-time passcodes.", "minimum": 0, "type": "integer" }, "devices": { "description": "Authentication devices the user enrolled in Akamai MFA.", "minItems": 0, "type": "array", "items": { "additionalProperties": false, "description": "Provides response data for a specific user device.", "type": "object", "required": [ "deviceId", "deviceType", "platform", "createdDate" ], "properties": { "createdDate": { "description": "ISO 8601 timestamp marking when the device was created.", "type": "string" }, "deviceId": { "description": "Uniquely identifies the authentication device enrolled by the user.", "minLength": 1, "type": "string" }, "deviceName": { "description": "A user-friendly name to identify the authentication device.", "minLength": 1, "type": "string" }, "deviceType": { "description": "A user's type of authentication device. Refer to [API concepts](https://techdocs.akamai.com/mfa/reference/mfa-concepts) to learn about device types.", "type": "string", "enum": [ "PUSH", "PHONE_ONLY", "SECURITY_KEY", "TOTP", "HARDWARE_TOKEN" ] }, "isDeviceEnabled": { "description": "Whether the authentication device is enabled in Akamai MFA. You can disable a user's device that remains inactive or poses a threat to your data. Users can't use a deactivated device to confirm their identity. Disabling a device is reversible, and isn't the same as permanently deleting a device. See [Enable a device](https://techdocs.akamai.com/mfa/reference/post-enable-user-device) and [Disable a device](https://techdocs.akamai.com/mfa/reference/post-disable-user-device) for details on how to manage user devices.", "type": "boolean" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the device was last modified, or when it was last used since then.", "type": "string" }, "platform": { "description": "The platform of the authentication device.", "minLength": 1, "type": "string" } }, "x-akamai": { "file-path": "schemas/device.yaml" } } }, "email": { "description": "The user's email address.", "type": "string" }, "firstName": { "description": "The user's first name.", "type": "string" }, "groups": { "description": "Lists the user's group memberships.", "minItems": 0, "type": "array", "items": { "additionalProperties": false, "type": "object", "required": [ "groupId", "groupName" ], "properties": { "groupId": { "description": "Uniquely identifies a group to assign to the user account.", "minLength": 1, "type": "string" }, "groupName": { "description": "The group's name.", "minLength": 1, "type": "string" }, "summary": { "description": "Provides summary of the group information.", "type": "string" } }, "x-akamai": { "file-path": "schemas/userGroup.yaml" } } }, "importSource": { "additionalProperties": false, "description": "The imported user's provisioning source. A `null` value marks manually imported users.", "nullable": true, "type": "object", "required": [ "id", "type" ], "properties": { "id": { "description": "A unique identifier for the imported user's provisioning source.", "minLength": 1, "type": "string" }, "type": { "description": "The imported user's provisioning source, either `SCIM` or `EAA`.", "type": "string", "enum": [ "SCIM", "EAA" ] } }, "x-akamai": { "file-path": "schemas/userSource.yaml" } }, "lastName": { "description": "The user's last name.", "type": "string" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the user account was last modified.", "type": "string" }, "userId": { "description": "A unique identifier for each user account.", "minLength": 1, "type": "string" }, "userStatus": { "description": "The status of the user account, either `UNENROLLED`, `ACTIVE`, `DEVICES_DISABLED`, or `PROVISIONING_DISABLED`. Refer to [API concepts](https://techdocs.akamai.com/mfa/reference/mfa-concepts) to learn more about user account status.", "type": "string", "enum": [ "ACTIVE", "UNENROLLED", "DEVICES_DISABLED", "PROVISIONING_DISABLED" ] }, "username": { "description": "The user's username. The username is unique for the tenant.", "minLength": 1, "type": "string" } }, "x-akamai": { "file-path": "schemas/userDetail.yaml" } } } }, "x-akamai": { "file-path": "schemas/users-get-200.yaml" } } } } } }, "parameters": [ { "description": "The page number index starting at the default value of `1`.", "example": "{{page}}", "in": "query", "name": "page", "schema": { "default": 1, "example": 2, "type": "integer" }, "x-akamai": { "file-path": "parameters/page-query.yaml" } }, { "description": "The number of user records displayed on each page. The default value is `25`.", "example": "{{pageSize}}", "in": "query", "name": "pageSize", "schema": { "default": 25, "example": 50, "type": "integer" }, "x-akamai": { "file-path": "parameters/pageSize-query.yaml" } }, { "description": "__Enum__ Filter user records by the specific status and display a list of user accounts that have this status.", "example": "{{status}}", "in": "query", "name": "status", "required": false, "schema": { "example": "ACTIVE", "type": "string", "enum": [ "ACTIVE", "UNENROLLED", "DEVICES_DISABLED", "PROVISIONING_DISABLED" ] }, "x-akamai": { "file-path": "parameters/userStatus-query-optional.yaml" } }, { "description": "Whether the response should include device details for listed users. The default value is `false`.", "example": "{{includeDevices}}", "in": "query", "name": "includeDevices", "schema": { "default": false, "example": true, "type": "boolean" }, "x-akamai": { "file-path": "parameters/include-devices-optional.yaml" } }, { "description": "Optionally filter users subject to a specific policy.", "example": "{{policyId}}", "in": "query", "name": "policyId", "required": false, "schema": { "example": "policy_4HZnCVg1XZ3PShajCb93kh", "type": "string" }, "x-akamai": { "file-path": "parameters/policyId-query-optional.yaml" } }, { "description": "Optionally filter users subject to a specific policy, referred to by name.", "example": "{{policyName}}", "in": "query", "name": "policyName", "required": false, "schema": { "example": "Policy-A", "type": "string" }, "x-akamai": { "file-path": "parameters/policyName-query-optional.yaml" } }, { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] } }, "/users/{userId}": { "get": { "description": "Get details about a specific user account, including the `userId`, `status`, and `username`. It also lists the `alias` information and `groups` that the user belongs to.", "operationId": "get-user", "summary": "Get a user", "tags": [ "Users" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/get-user" }, "responses": { "200": { "description": "The response provides data for a single user.", "content": { "application/json": { "example": { "createdDate": "2021-10-21T04:03:30.678+00:00", "deviceCount": 1, "email": "john-doe@example.com", "firstName": "John", "lastName": "Doe", "modifiedDate": "2021-10-21T04:04:45.091+00:00", "userId": "user_2eVKpVVpgzM3fPWsao3sbh", "userStatus": "ACTIVE", "username": "szhang", "importSource": { "id": "scim_1787", "type": "SCIM" }, "aliases": [ { "alias": "johndoe", "aliasId": "alias_2DveJ9HKmURNmKrz3EOxWZ", "createdDate": "2021-10-21T04:04:46.309+00:00", "modifiedDate": "2021-10-21T04:04:46.309+00:00" }, { "alias": "john_doe", "aliasId": "alias_6AWYrzkzVOfLPIF2iQRBFe", "createdDate": "2021-10-21T04:04:46.505+00:00", "modifiedDate": "2021-10-21T04:04:46.505+00:00" } ], "groups": [ { "groupId": "group_bcUpUwdxFcu5aTUoLL3Yk", "groupName": "admins", "summary": "Group with admin access to acme resources" }, { "groupId": "group_76ZUMpiZY4OGDbtqroy85K", "groupName": "sales", "summary": "Group for Sales users" } ] }, "schema": { "additionalProperties": false, "description": "Provides response data for a specific user.", "type": "object", "required": [ "userId", "username", "userStatus", "deviceCount", "createdDate" ], "properties": { "aliases": { "description": "The user's alternate names.", "minItems": 0, "type": "array", "items": { "additionalProperties": false, "type": "object", "required": [ "aliasId", "alias", "createdDate" ], "properties": { "alias": { "description": "Alternate usernames for the user.", "minLength": 1, "type": "string" }, "aliasId": { "description": "A unique identifier for the user's alternate username.", "minLength": 1, "type": "string" }, "createdDate": { "description": "ISO 8601 timestamp marking when the alias was created.", "type": "string" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the alias was last modified.", "type": "string" } }, "x-akamai": { "file-path": "schemas/userAlias.yaml" } } }, "createdDate": { "description": "ISO 8601 timestamp marking when the user account was created.", "type": "string" }, "deviceCount": { "description": "The number of authentication devices enrolled by the user in Akamai MFA. The user can enroll and use a set of authentication devices. The supported device types include the following: `PUSH`. Any device that supports sending push notifications, for example, tablets and smartphones. `PHONE_ONLY`. A non-smartphone mobile device that supports only text messages and calls. `SECURITY_KEY`. A FIDO2 WebAuthn security key such as a YubiKey or Akamai MFA phone security key. `TOTP`. A hardware device that generates one-time passcodes. `HARDWARE_TOKEN`. A security device that generates one-time passcodes.", "minimum": 0, "type": "integer" }, "devices": { "description": "Authentication devices the user enrolled in Akamai MFA.", "minItems": 0, "type": "array", "items": { "additionalProperties": false, "description": "Provides response data for a specific user device.", "type": "object", "required": [ "deviceId", "deviceType", "platform", "createdDate" ], "properties": { "createdDate": { "description": "ISO 8601 timestamp marking when the device was created.", "type": "string" }, "deviceId": { "description": "Uniquely identifies the authentication device enrolled by the user.", "minLength": 1, "type": "string" }, "deviceName": { "description": "A user-friendly name to identify the authentication device.", "minLength": 1, "type": "string" }, "deviceType": { "description": "A user's type of authentication device. Refer to [API concepts](https://techdocs.akamai.com/mfa/reference/mfa-concepts) to learn about device types.", "type": "string", "enum": [ "PUSH", "PHONE_ONLY", "SECURITY_KEY", "TOTP", "HARDWARE_TOKEN" ] }, "isDeviceEnabled": { "description": "Whether the authentication device is enabled in Akamai MFA. You can disable a user's device that remains inactive or poses a threat to your data. Users can't use a deactivated device to confirm their identity. Disabling a device is reversible, and isn't the same as permanently deleting a device. See [Enable a device](https://techdocs.akamai.com/mfa/reference/post-enable-user-device) and [Disable a device](https://techdocs.akamai.com/mfa/reference/post-disable-user-device) for details on how to manage user devices.", "type": "boolean" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the device was last modified, or when it was last used since then.", "type": "string" }, "platform": { "description": "The platform of the authentication device.", "minLength": 1, "type": "string" } }, "x-akamai": { "file-path": "schemas/device.yaml" } } }, "email": { "description": "The user's email address.", "type": "string" }, "firstName": { "description": "The user's first name.", "type": "string" }, "groups": { "description": "Lists the user's group memberships.", "minItems": 0, "type": "array", "items": { "additionalProperties": false, "type": "object", "required": [ "groupId", "groupName" ], "properties": { "groupId": { "description": "Uniquely identifies a group to assign to the user account.", "minLength": 1, "type": "string" }, "groupName": { "description": "The group's name.", "minLength": 1, "type": "string" }, "summary": { "description": "Provides summary of the group information.", "type": "string" } }, "x-akamai": { "file-path": "schemas/userGroup.yaml" } } }, "importSource": { "additionalProperties": false, "description": "The imported user's provisioning source. A `null` value marks manually imported users.", "nullable": true, "type": "object", "required": [ "id", "type" ], "properties": { "id": { "description": "A unique identifier for the imported user's provisioning source.", "minLength": 1, "type": "string" }, "type": { "description": "The imported user's provisioning source, either `SCIM` or `EAA`.", "type": "string", "enum": [ "SCIM", "EAA" ] } }, "x-akamai": { "file-path": "schemas/userSource.yaml" } }, "lastName": { "description": "The user's last name.", "type": "string" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the user account was last modified.", "type": "string" }, "userId": { "description": "A unique identifier for each user account.", "minLength": 1, "type": "string" }, "userStatus": { "description": "The status of the user account, either `UNENROLLED`, `ACTIVE`, `DEVICES_DISABLED`, or `PROVISIONING_DISABLED`. Refer to [API concepts](https://techdocs.akamai.com/mfa/reference/mfa-concepts) to learn more about user account status.", "type": "string", "enum": [ "ACTIVE", "UNENROLLED", "DEVICES_DISABLED", "PROVISIONING_DISABLED" ] }, "username": { "description": "The user's username. The username is unique for the tenant.", "minLength": 1, "type": "string" } }, "x-akamai": { "file-path": "schemas/userDetail.yaml" } } } } } }, "parameters": [ { "description": "A unique identifier for the user account.", "example": "{{userId}}", "in": "path", "name": "userId", "required": true, "schema": { "example": "user_2eVKpVVpgzM3fPWsao3sbh", "type": "string" }, "x-akamai": { "file-path": "parameters/userId-path.yaml" } }, { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] }, "delete": { "description": "Permanently delete a specific user account. You can delete any active user account from your Akamai MFA service. For manually added users, deleting means permanently removing the user accounts together with any enrolled authentication device. User accounts that still exist in the external source directory reappear after the next synchronization.", "operationId": "delete-user", "summary": "Delete a user", "tags": [ "Users" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/delete-user" }, "responses": { "204": { "description": "The user was successfully deleted.", "content": { "*/*": {} } } }, "parameters": [ { "description": "A unique identifier for the user account.", "example": "{{userId}}", "in": "path", "name": "userId", "required": true, "schema": { "example": "user_2eVKpVVpgzM3fPWsao3sbh", "type": "string" }, "x-akamai": { "file-path": "parameters/userId-path.yaml" } }, { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] } }, "/users/{userId}/assign-groups": { "post": { "description": "Assign a set of groups to a user account. With this operation you can modify the users' group assignment when their role in the organization changes. After you modify the users' group membership, you can manage their access to different integrations at group level.", "operationId": "post-assign-groups-to-user", "summary": "Assign groups", "tags": [ "Groups" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/post-assign-groups-to-user" }, "requestBody": { "required": true, "content": { "application/json": { "example": { "groupIds": [ "group_5JmO0b2SZMrc72a2C8A25R" ] }, "schema": { "additionalProperties": false, "description": "Specifies groups to assign to a user account.", "type": "object", "required": [ "groupIds" ], "properties": { "groupIds": { "description": "A set of groups to assign to a specific user account.", "minItems": 1, "type": "array", "uniqueItems": true, "items": { "minLength": 1, "type": "string" } } }, "x-akamai": { "file-path": "schemas/assignGroups.yaml" } } } } }, "responses": { "204": { "description": "The groups were successfully assigned to the user account.", "content": { "*/*": {} } } }, "parameters": [ { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] }, "parameters": [ { "description": "A unique identifier for the user account.", "example": "{{userId}}", "in": "path", "name": "userId", "required": true, "schema": { "example": "user_2eVKpVVpgzM3fPWsao3sbh", "type": "string" }, "x-akamai": { "file-path": "parameters/userId-path.yaml" } } ] }, "/users/{userId}/assign-policies": { "post": { "description": "Assign a set of policies to a user account. With this operation you can modify the users' access privileges when their role in the organization changes. After you modify the users' policy assignation, the users need to meet the requirements of a specific authentication policy before they can access a protected application.", "operationId": "post-assign-policies-to-user", "summary": "Assign policies", "tags": [ "Policies" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/post-assign-policies-to-user" }, "requestBody": { "required": true, "content": { "application/json": { "example": { "policyIds": [ "policy_HTQwbQV77nJx9FaLSAnAo", "policy_Td4WCEhgIGnYV9vsL1FlJ" ] }, "schema": { "additionalProperties": false, "description": "Specifies policies to assign to a user account.", "type": "object", "required": [ "policyIds" ], "properties": { "policyIds": { "description": "A set of policies to assign to a specific user account.", "minItems": 1, "type": "array", "uniqueItems": true, "items": { "minLength": 1, "type": "string" } } }, "x-akamai": { "file-path": "schemas/assignPolicies.yaml" } } } } }, "responses": { "202": { "description": "The policies were successfully assigned to the user account.", "content": { "*/*": {} } } }, "parameters": [ { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] }, "parameters": [ { "description": "A unique identifier for the user account.", "example": "{{userId}}", "in": "path", "name": "userId", "required": true, "schema": { "example": "user_2eVKpVVpgzM3fPWsao3sbh", "type": "string" }, "x-akamai": { "file-path": "parameters/userId-path.yaml" } } ] }, "/users/{userId}/bypass-codes": { "post": { "description": "Generate a new bypass code for a specific user account.", "operationId": "post-bypass-code", "summary": "Create a bypass code", "tags": [ "Bypass codes" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/post-bypass-code" }, "requestBody": { "required": true, "content": { "application/json": { "example": { "expirationDate": "2021-11-21T04:59:00", "remainingUses": 2 }, "schema": { "additionalProperties": false, "description": "Specifies the bypass code's expiry date and its maximum reuse count. ", "type": "object", "required": [ "expirationDate", "remainingUses" ], "properties": { "expirationDate": { "description": "ISO 8601 timestamp indicating when the bypass code expires.", "example": "{{expirationDate}}", "type": "string" }, "remainingUses": { "description": "The bypass code reuse count at a given time. The maximum reuse number is `10`.", "example": "{{remainingUses}}", "maximum": 10, "minimum": 1, "type": "integer" } }, "x-akamai": { "file-path": "schemas/bypassCode-create.yaml" } } } } }, "responses": { "201": { "description": "The operation provides data for a newly created bypass code.", "content": { "application/json": { "example": { "bypassCode": "etuvbvh45bpxjivw", "bypassCodeId": "code_1ZG8vfR161vJO3Pq1fl2X0", "createdDate": "2021-11-20T10:29:13.976+00:00", "expirationDate": "2021-11-21T04:59:00", "modifiedDate": "2021-11-20T10:29:13.976+00:00", "remainingUses": 2 }, "schema": { "additionalProperties": false, "description": "Provides response data for a specific bypass code.", "type": "object", "required": [ "bypassCodeId", "bypassCode", "expirationDate", "remainingUses", "createdDate" ], "properties": { "bypassCode": { "description": "The bypass code value that the user can use to authenticate.", "minLength": 1, "type": "string" }, "bypassCodeId": { "description": "A unique identifier for the bypass code.", "minLength": 1, "type": "string" }, "createdDate": { "description": "ISO 8601 timestamp marking when the bypass code was created.", "type": "string" }, "expirationDate": { "description": "ISO 8601 timestamp indicating when the bypass code expires.", "type": "string" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the bypass code was last modified, or when it was last used since then.", "type": "string" }, "remainingUses": { "description": "The bypass code reuse count at a given time. The maximum reuse number is `10`.", "maximum": 10, "minimum": 1, "type": "integer" } }, "x-akamai": { "file-path": "schemas/bypassCode-get-200.yaml" } } } }, "headers": { "Location": { "description": "A URL path where you can GET the newly created resource.", "schema": { "example": "/amfa/v1/users/user_2eVKpVVpgzM3fPWsao3sbh/bypass-codes/code_1ZG8vfR161vJO3Pq1fl2X0", "type": "string" }, "x-akamai": { "file-path": "headers/location.yaml" } } } } }, "parameters": [ { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] }, "get": { "description": "List all the bypass codes generated for a specific user account.", "operationId": "get-bypass-codes", "summary": "List bypass codes", "tags": [ "Bypass codes" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/get-bypass-codes" }, "responses": { "200": { "description": "The response provides a list of bypass codes.", "content": { "application/json": { "example": { "bypassCodes": [ { "bypassCode": "r7ek5789d5ntji8b", "bypassCodeId": "code_k97ARdqAbu1LcRNUCZZDk", "createdDate": "2021-06-11T00:16:13.032+00:00", "expirationDate": "2021-06-24T23:59:59", "modifiedDate": "2021-06-11T00:16:13.032+00:00", "remainingUses": 10 }, { "bypassCode": "etuvbvh45bpxjivw", "bypassCodeId": "code_1ZG8vfR161vJO3Pq1fl2X0", "createdDate": "2021-11-20T10:29:13.976+00:00", "expirationDate": "2021-11-21T04:59:00", "modifiedDate": "2021-11-20T10:29:13.976+00:00", "remainingUses": 2 } ] }, "schema": { "additionalProperties": false, "description": "Provides response data with bypass codes generated for a specific user account.", "type": "object", "required": [ "bypassCodes" ], "properties": { "bypassCodes": { "description": "Bypass codes generated for a specific user account.", "minItems": 0, "type": "array", "items": { "additionalProperties": false, "description": "Provides response data for a specific bypass code.", "type": "object", "required": [ "bypassCodeId", "bypassCode", "expirationDate", "remainingUses", "createdDate" ], "properties": { "bypassCode": { "description": "The bypass code value that the user can use to authenticate.", "minLength": 1, "type": "string" }, "bypassCodeId": { "description": "A unique identifier for the bypass code.", "minLength": 1, "type": "string" }, "createdDate": { "description": "ISO 8601 timestamp marking when the bypass code was created.", "type": "string" }, "expirationDate": { "description": "ISO 8601 timestamp indicating when the bypass code expires.", "type": "string" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the bypass code was last modified, or when it was last used since then.", "type": "string" }, "remainingUses": { "description": "The bypass code reuse count at a given time. The maximum reuse number is `10`.", "maximum": 10, "minimum": 1, "type": "integer" } }, "x-akamai": { "file-path": "schemas/bypassCode-get-200.yaml" } } } }, "x-akamai": { "file-path": "schemas/bypassCodes.yaml" } } } } } }, "parameters": [ { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] }, "parameters": [ { "description": "A unique identifier for the user account.", "example": "{{userId}}", "in": "path", "name": "userId", "required": true, "schema": { "example": "user_2eVKpVVpgzM3fPWsao3sbh", "type": "string" }, "x-akamai": { "file-path": "parameters/userId-path.yaml" } } ] }, "/users/{userId}/bypass-codes/{bypassCodeId}": { "get": { "description": "Get a specific bypass code.", "operationId": "get-bypass-code", "summary": "Get a bypass code", "tags": [ "Bypass codes" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/get-bypass-code" }, "responses": { "200": { "description": "The operation provides data for a specific bypass code.", "content": { "application/json": { "example": { "bypassCode": "etuvbvh45bpxjivw", "bypassCodeId": "code_1ZG8vfR161vJO3Pq1fl2X0", "createdDate": "2021-11-20T10:29:13.976+00:00", "expirationDate": "2021-11-21T04:59:00", "modifiedDate": "2021-11-20T10:29:13.976+00:00", "remainingUses": 2 }, "schema": { "additionalProperties": false, "description": "Provides response data for a specific bypass code.", "type": "object", "required": [ "bypassCodeId", "bypassCode", "expirationDate", "remainingUses", "createdDate" ], "properties": { "bypassCode": { "description": "The bypass code value that the user can use to authenticate.", "minLength": 1, "type": "string" }, "bypassCodeId": { "description": "A unique identifier for the bypass code.", "minLength": 1, "type": "string" }, "createdDate": { "description": "ISO 8601 timestamp marking when the bypass code was created.", "type": "string" }, "expirationDate": { "description": "ISO 8601 timestamp indicating when the bypass code expires.", "type": "string" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the bypass code was last modified, or when it was last used since then.", "type": "string" }, "remainingUses": { "description": "The bypass code reuse count at a given time. The maximum reuse number is `10`.", "maximum": 10, "minimum": 1, "type": "integer" } }, "x-akamai": { "file-path": "schemas/bypassCode-get-200.yaml" } } } } } }, "parameters": [ { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] }, "parameters": [ { "description": "A unique identifier for the user account.", "example": "{{userId}}", "in": "path", "name": "userId", "required": true, "schema": { "example": "user_2eVKpVVpgzM3fPWsao3sbh", "type": "string" }, "x-akamai": { "file-path": "parameters/userId-path.yaml" } }, { "description": "A unique identifier for the bypass code.", "example": "{{bypassCodeId}}", "in": "path", "name": "bypassCodeId", "required": true, "schema": { "example": "code_1ZG8vfR161vJO3Pq1fl2X0", "type": "string" }, "x-akamai": { "file-path": "parameters/bypassCodeId-path.yaml" } } ] }, "/users/{userId}/devices": { "get": { "description": "List all the user's authentication devices.", "operationId": "get-user-devices", "summary": "List the user's devices", "tags": [ "Devices" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/get-user-devices" }, "responses": { "200": { "description": "The response provides a list of the user's devices.", "content": { "application/json": { "example": { "devices": [ { "createdDate": "2021-02-26T08:32:36.149+00:00", "deviceId": "device_5Vv4g1iex1ntW5L1bQbcaG", "deviceName": "iPhone", "deviceType": "PUSH", "modifiedDate": "2021-03-04T17:15:11.719+00:00", "platform": "ios" }, { "createdDate": "2021-02-26T08:33:38.521+00:00", "deviceId": "device_7HKbbp6wDRqHiYJW8d2lpY", "deviceName": "Security Key", "deviceType": "SECURITY_KEY", "modifiedDate": "2021-02-26T08:33:38.521+00:00", "platform": "fido2" } ] }, "schema": { "additionalProperties": false, "description": "Provides response data for all devices enrolled by the user.", "type": "object", "required": [ "devices" ], "properties": { "devices": { "description": "Authentication devices enrolled by the user in Akamai MFA.", "minItems": 0, "type": "array", "items": { "additionalProperties": false, "description": "Provides response data for a specific user device.", "type": "object", "required": [ "deviceId", "deviceType", "platform", "createdDate" ], "properties": { "createdDate": { "description": "ISO 8601 timestamp marking when the device was created.", "type": "string" }, "deviceId": { "description": "Uniquely identifies the authentication device enrolled by the user.", "minLength": 1, "type": "string" }, "deviceName": { "description": "A user-friendly name to identify the authentication device.", "minLength": 1, "type": "string" }, "deviceType": { "description": "A user's type of authentication device. Refer to [API concepts](https://techdocs.akamai.com/mfa/reference/mfa-concepts) to learn about device types.", "type": "string", "enum": [ "PUSH", "PHONE_ONLY", "SECURITY_KEY", "TOTP", "HARDWARE_TOKEN" ] }, "isDeviceEnabled": { "description": "Whether the authentication device is enabled in Akamai MFA. You can disable a user's device that remains inactive or poses a threat to your data. Users can't use a deactivated device to confirm their identity. Disabling a device is reversible, and isn't the same as permanently deleting a device. See [Enable a device](https://techdocs.akamai.com/mfa/reference/post-enable-user-device) and [Disable a device](https://techdocs.akamai.com/mfa/reference/post-disable-user-device) for details on how to manage user devices.", "type": "boolean" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the device was last modified, or when it was last used since then.", "type": "string" }, "platform": { "description": "The platform of the authentication device.", "minLength": 1, "type": "string" } }, "x-akamai": { "file-path": "schemas/device.yaml" } } } }, "x-akamai": { "file-path": "schemas/devices.yaml" } } } } } }, "parameters": [ { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] }, "parameters": [ { "description": "A unique identifier for the user account.", "example": "{{userId}}", "in": "path", "name": "userId", "required": true, "schema": { "example": "user_2eVKpVVpgzM3fPWsao3sbh", "type": "string" }, "x-akamai": { "file-path": "parameters/userId-path.yaml" } } ] }, "/users/{userId}/devices/assign-hardware-token": { "post": { "description": "Assign a hardware token to a specific user account. To assign a hardware token, you need the token's serial number. You can also unassign and reassign a hardware token from one active user account to another. A hardware token assigned to a user account gets automatically unassigned when the account is deleted, and returns to the pool of available tokens that you can assign to another user.", "operationId": "post-assign-hardware-token", "summary": "Assign a hardware token", "tags": [ "Devices" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/post-assign-hardware-token" }, "requestBody": { "required": true, "content": { "application/json": { "example": { "deviceId": "device_5Vv4g1iex1ntW5L1bQbcaG" }, "schema": { "additionalProperties": false, "description": "Specifies a hardware token to assign to a user account.", "type": "object", "required": [ "deviceId" ], "properties": { "deviceId": { "description": "A unique identifier for the hardware token. You can assign only one token to a specific user account.", "example": "{{deviceId}}", "minLength": 1, "type": "string" } }, "x-akamai": { "file-path": "schemas/assignHardwareToken.yaml" } } } } }, "responses": { "202": { "description": "The hardware token was successfully assigned to the user account.", "content": { "*/*": {} } } }, "parameters": [ { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] }, "parameters": [ { "description": "A unique identifier for the user account.", "example": "{{userId}}", "in": "path", "name": "userId", "required": true, "schema": { "example": "user_2eVKpVVpgzM3fPWsao3sbh", "type": "string" }, "x-akamai": { "file-path": "parameters/userId-path.yaml" } } ] }, "/users/{userId}/devices/{deviceId}/disable": { "post": { "description": "Deactivate the user's authentication device.", "operationId": "post-disable-user-device", "summary": "Disable a device", "tags": [ "Devices" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/post-disable-user-device" }, "responses": { "200": { "description": "The user's authentication device was successfully disabled.", "content": { "application/json": { "example": { "createdDate": "2021-02-26T08:32:36.149+00:00", "deviceId": "device_5Vv4g1iex1ntW5L1bQbcaG", "deviceName": "iPhone", "deviceType": "PUSH", "modifiedDate": "2021-03-04T17:15:11.719+00:00", "platform": "ios" }, "schema": { "additionalProperties": false, "description": "Provides response data for a specific user device.", "type": "object", "required": [ "deviceId", "deviceType", "platform", "createdDate" ], "properties": { "createdDate": { "description": "ISO 8601 timestamp marking when the device was created.", "type": "string" }, "deviceId": { "description": "Uniquely identifies the authentication device enrolled by the user.", "minLength": 1, "type": "string" }, "deviceName": { "description": "A user-friendly name to identify the authentication device.", "minLength": 1, "type": "string" }, "deviceType": { "description": "A user's type of authentication device. Refer to [API concepts](https://techdocs.akamai.com/mfa/reference/mfa-concepts) to learn about device types.", "type": "string", "enum": [ "PUSH", "PHONE_ONLY", "SECURITY_KEY", "TOTP", "HARDWARE_TOKEN" ] }, "isDeviceEnabled": { "description": "Whether the authentication device is enabled in Akamai MFA. You can disable a user's device that remains inactive or poses a threat to your data. Users can't use a deactivated device to confirm their identity. Disabling a device is reversible, and isn't the same as permanently deleting a device. See [Enable a device](https://techdocs.akamai.com/mfa/reference/post-enable-user-device) and [Disable a device](https://techdocs.akamai.com/mfa/reference/post-disable-user-device) for details on how to manage user devices.", "type": "boolean" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the device was last modified, or when it was last used since then.", "type": "string" }, "platform": { "description": "The platform of the authentication device.", "minLength": 1, "type": "string" } }, "x-akamai": { "file-path": "schemas/device.yaml" } } } } } }, "parameters": [ { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] }, "parameters": [ { "description": "A unique identifier for the user account.", "example": "{{userId}}", "in": "path", "name": "userId", "required": true, "schema": { "example": "user_2eVKpVVpgzM3fPWsao3sbh", "type": "string" }, "x-akamai": { "file-path": "parameters/userId-path.yaml" } }, { "description": "A unique identifier for the authentication device the user enrolled in Akamai MFA. The user can authenticate to protected applications using this device.", "example": "{{deviceId}}", "in": "path", "name": "deviceId", "required": true, "schema": { "example": "device_5Vv4g1iex1ntW5L1bQbcaG", "type": "string" }, "x-akamai": { "file-path": "parameters/deviceId-path.yaml" } } ] }, "/users/{userId}/devices/{deviceId}/enable": { "post": { "description": "Activate the user's authentication device.", "operationId": "post-enable-user-device", "summary": "Enable a device", "tags": [ "Devices" ], "externalDocs": { "description": "See documentation for this operation in Akamai's Akamai MFA API", "url": "https://techdocs.akamai.com/mfa/reference/post-enable-user-device" }, "responses": { "200": { "description": "The user's authentication device was successfully enabled.", "content": { "application/json": { "example": { "createdDate": "2021-02-26T08:32:36.149+00:00", "deviceId": "device_5Vv4g1iex1ntW5L1bQbcaG", "deviceName": "iPhone", "deviceType": "PUSH", "modifiedDate": "2021-03-04T17:15:11.719+00:00", "platform": "ios" }, "schema": { "additionalProperties": false, "description": "Provides response data for a specific user device.", "type": "object", "required": [ "deviceId", "deviceType", "platform", "createdDate" ], "properties": { "createdDate": { "description": "ISO 8601 timestamp marking when the device was created.", "type": "string" }, "deviceId": { "description": "Uniquely identifies the authentication device enrolled by the user.", "minLength": 1, "type": "string" }, "deviceName": { "description": "A user-friendly name to identify the authentication device.", "minLength": 1, "type": "string" }, "deviceType": { "description": "A user's type of authentication device. Refer to [API concepts](https://techdocs.akamai.com/mfa/reference/mfa-concepts) to learn about device types.", "type": "string", "enum": [ "PUSH", "PHONE_ONLY", "SECURITY_KEY", "TOTP", "HARDWARE_TOKEN" ] }, "isDeviceEnabled": { "description": "Whether the authentication device is enabled in Akamai MFA. You can disable a user's device that remains inactive or poses a threat to your data. Users can't use a deactivated device to confirm their identity. Disabling a device is reversible, and isn't the same as permanently deleting a device. See [Enable a device](https://techdocs.akamai.com/mfa/reference/post-enable-user-device) and [Disable a device](https://techdocs.akamai.com/mfa/reference/post-disable-user-device) for details on how to manage user devices.", "type": "boolean" }, "modifiedDate": { "description": "ISO 8601 timestamp marking when the device was last modified, or when it was last used since then.", "type": "string" }, "platform": { "description": "The platform of the authentication device.", "minLength": 1, "type": "string" } }, "x-akamai": { "file-path": "schemas/device.yaml" } } } } } }, "parameters": [ { "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).", "example": "{{accountSwitchKey}}", "in": "query", "name": "accountSwitchKey", "required": false, "schema": { "example": "1-5C0YLB:1-8BYUX", "type": "string" } } ] }, "parameters": [ { "description": "A unique identifier for the user account.", "example": "{{userId}}", "in": "path", "name": "userId", "required": true, "schema": { "example": "user_2eVKpVVpgzM3fPWsao3sbh", "type": "string" }, "x-akamai": { "file-path": "parameters/userId-path.yaml" } }, { "description": "A unique identifier for the authentication device the user enrolled in Akamai MFA. The user can authenticate to protected applications using this device.", "example": "{{deviceId}}", "in": "path", "name": "deviceId", "required": true, "schema": { "example": "device_5Vv4g1iex1ntW5L1bQbcaG", "type": "string" }, "x-akamai": { "file-path": "parameters/deviceId-path.yaml" } } ] } }, "x-readme": { "samples-languages": [ "curl", "python", "node" ] }, "servers": [ { "url": "https://{hostname}/amfa/v1" } ] }