It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
EnrollmentTokenRequest
editEnrollmentTokenRequest
editAn enrollment token request for one or more services.
Properties
edit-
persistent
(boolean
, required) - Whether this token can subsequently to its grant be revoked from the UI
-
roles
(array[
string
)]
- The additional services for which this enrollment token applies (empty if not specified, ie system services only)
-
validity_in_seconds
(integer
asint32
) - The time in seconds for which this token is valid (defaults to 1 hour). Currently this can only be set for ephemeral (persistent: false) tokens.
Example
edit{ "persistent" : true, "roles" : [ "string" ], "validity_in_seconds" : 0 }